Re: Use of backslash in tsearch2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org, Bruce Momjian <bruce(at)momjian(dot)us>
Cc: teodor(at)sigaev(dot)ru, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Use of backslash in tsearch2
Date: 2006-08-22 00:15:28
Message-ID: 26847.1156205728@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian <bruce(at)momjian(dot)us> writes:
> As part of the move to support standard-conforming strings and treat
> backslash literally, I reviewed the tsearch2 code and found two place
> that seemed to use \' rather than '', and generated the attached patch.

I thought we had decided that that code should not be changed. It has
nothing to do with SQL literals, and changing it will create unnecessary
backwards-compatibility problems.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeremy Kronuz 2006-08-22 00:19:48 Re: ISBN/ISSN/ISMN/EAN13 module
Previous Message Tom Lane 2006-08-22 00:09:38 Re: Queries joining views

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2006-08-22 00:28:27 Re: Use of backslash in tsearch2
Previous Message Bruce Momjian 2006-08-22 00:04:01 Use of backslash in tsearch2