Re: [ADMIN] string function -- replace needs a clear doc

2003-08-14 Thread Stephan Szabo
On Mon, 11 Aug 2003, Jie Liang wrote: 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. I seem to get the expected results on my 7.3.4 system.

Re: [ADMIN] string function -- replace needs a clear doc

2003-08-14 Thread Tom Lane
Jie Liang [EMAIL PROTECTED] 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

[ADMIN] string function -- replace needs a clear doc

2003-08-14 Thread Jie Liang
urldb=# select replace('whateveritis','a','A'); replace -- whAteveritis (1 row) urldb=# select replace('whateveritis','e','E'); replace -- whatEvEritis (1 row) urldb=# select replace('whatever%20itis','e','E'); replace