Re: [PATCHES] Use of backslash in tsearch2

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [PATCHES] Use of backslash in tsearch2
Дата
Msg-id 200608220028.k7M0SRu07606@momjian.us
обсуждение исходный текст
Ответ на Re: [PATCHES] Use of backslash in tsearch2  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.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.

I don't remember any comment regarding that.  I think it does relate to
SQL literals because it is creating a literal inside a literal. Also, at
the time this was a core-only discussion and I am hoping from a comment
from the tsearch2 folks.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: COPY FROM view
Следующее
От: mdean
Дата:
Сообщение: Re: ISBN/ISSN/ISMN/EAN13 module