Re: string function -- replace needs a clear doc

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jie Liang" <jie(at)stbernard(dot)com>
Cc: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-admin(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Re: string function -- replace needs a clear doc
Date: 2003-08-11 23:12:44
Message-ID: 26849.1060643564@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-sql

"Jie Liang" <jie(at)stbernard(dot)com> writes:
> 1. No doc said % should escape by %%, and
> select replace('whatever%20sites','%20','%%20') won't work also.
> 2. v7.3.2 haven't resolved this problem yet, I am not sure the later version.

In 7.3.3 release notes:

* Fix misbehavior of replace() on strings containing '%'

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message pradeep krishna 2003-08-12 13:08:37 Database in postgresql
Previous Message Stephan Szabo 2003-08-11 23:00:52 Re: string function -- replace needs a clear doc

Browse pgsql-sql by date

  From Date Subject
Next Message Christopher Browne 2003-08-12 01:57:05 Re: INSERT INTO ... SELECT
Previous Message Stephan Szabo 2003-08-11 23:00:52 Re: string function -- replace needs a clear doc