Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group