Re: Can someone else verify if this is a bug? - Mailing list pgsql-general

From Tom Lane
Subject Re: Can someone else verify if this is a bug?
Date
Msg-id 6386.1188055220@sss.pgh.pa.us
Whole thread Raw
In response to Can someone else verify if this is a bug?  (Tony Caduto <tony_caduto@amsoftwaredesign.com>)
List pgsql-general
Tony Caduto <tony_caduto@amsoftwaredesign.com> writes:
> Basically if you have a function in your view SQL like this:

> replace(address1, '\r', '')

> pg_get_viewdef is returning the view definition with the \r replaced by
> it's ASCII code which causes this:

> replace(address1, '
> ','')

This is not incorrect, if the original was interpreted under
escape-string syntax.  Perhaps you meant to type \\r ?

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bigtime scaling of Postgresql (cluster and stuff I suppose)
Next
From: "Joshua D. Drake"
Date:
Subject: Re: [PERFORM] Partioning tsearch2 a table into chunks and accessing via views