Stephan Szabo <[EMAIL PROTECTED]> 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 ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org