Re: dollar-quoting in psql and in general

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: dollar-quoting in psql and in general
Дата
Msg-id 23795.1092281269@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: dollar-quoting in psql and in general  (Philip Warner <pjw@rhyme.com.au>)
Список pgsql-hackers
Philip Warner <pjw@rhyme.com.au> writes:
> At 12:47 PM 12/08/2004, Tom Lane wrote:
>> Backslashes are not special inside
>> dollar quotes --- nor is anything else, except the matching close tag

> If they are not special, then shouldnt:
>     select $a$\$a$;
> result in
>     ?column?
>        \
> rather than an error?

Worksforme (TM).

regression=#     select $a$\$a$;?column? 
----------\
(1 row)

regression=# 

Are you sure your psql and backend are both current?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_restore (libpq? parser?) bug in 8
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_dump 'die_on_errors'