Re: Can someone else verify if this is a bug?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com>
Cc: Postgresql General List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Can someone else verify if this is a bug?
Date: 2007-08-25 15:20:20
Message-ID: 6386.1188055220@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dave Page 2007-08-25 15:32:41 Re: PostgreSQL vs Firebird feature comparison finished
Previous Message Tom Lane 2007-08-25 15:13:45 Re: Bigtime scaling of Postgresql (cluster and stuff I suppose)