| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com> |
| Cc: | Nicolas Bottarini <nicolas(at)avatarla(dot)com>, pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: Replace function BUG |
| Date: | 2004-07-17 04:24:24 |
| Message-ID: | 1482.1090038264@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com> writes:
> On Tue, 13 Jul 2004, Nicolas Bottarini wrote:
>> In postgreSQL 7.3.2 when I execute the following query
>>
>> select replace('test %400% result', 'result', 'ok');
>>
>> it returns "test % ok"
> I think this was fixed in the 7.4 branch.
It was fixed in 7.3 branch as well:
2003-04-23 14:19 tgl
* src/backend/utils/adt/varlena.c (REL7_3_STABLE): Fix misbehavior
of replace() on strings containing '%'. Will patch separately but
equivalently in HEAD.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Newall | 2004-07-17 04:48:47 | Re: Slow views |
| Previous Message | Tom Lane | 2004-07-17 04:04:40 | Re: Slow views |