Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tony Caduto <tony_caduto@xxxxxxxxxxxxxxxxxxxx> 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

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux