Re: pg_restore ignore error patch

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: pg_restore ignore error patch
Дата
Msg-id 2346.24.211.141.25.1081538150.squirrel@www.dunslane.net
обсуждение исходный текст
Ответ на pg_restore ignore error patch  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: pg_restore ignore error patch  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-patches
Fabien COELHO said:
>
>
> My tests suggest that a feature of pg_restore is that it is only
> expected to work with its own server. Indeed, it generates some new
> syntax, such as $$ quoting, which is not compatible with older servers.
> This fact does not seem to appear in the documentation.
>

Wrong. It does appear in the documentation, and it can also be disabled.

http://developer.postgresql.org/docs/postgres/app-pgdump.html says:

-X disable-dollar-quoting
--disable-dollar-quoting
This option disables the use of dollar quoting for function bodies, and
forces them to be quoted using SQL standard string syntax.



cheers

andrew



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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: pg_restore ignore error patch
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_restore ignore error patch