Re: Double Backslash example patch

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: Double Backslash example patch
Дата
Msg-id 20031216191711.GJ19694@fetter.org
обсуждение исходный текст
Ответ на Re: Double Backslash example patch  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Double Backslash example patch
Список pgsql-patches
On Tue, Dec 16, 2003 at 04:32:37PM +0100, Peter Eisentraut wrote:
> Bruce Momjian wrote:
> > He is reminding folks about double-backslashes in a relivant place
> > --- makes sense to me.
>
> The relevant place would be far below where it already says:
>
> Note: Keep in mind that an escape's leading \ will need to be
> doubled when entering the pattern as an SQL string constant.
>
> So it's already covered.

With all due respect, Peter, it is only implicit in the docs, and that
is not always good enough.  An explicit example will help, as
PostgreSQL's quoting system would qualify for an early place on the
'gotchas' page (cf. http://sql-info.de/mysql/gotchas.html) if
PostgreSQL had one.

Cheers,
D
--
David Fetter david@fetter.org http://fetter.org/
phone: +1 510 893 6100    cell: +1 415 235 3778

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Double Backslash example patch
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Double Backslash example patch