Re: pg_restore ignore error patch - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: pg_restore ignore error patch
Date
Msg-id 2346.24.211.141.25.1081538150.squirrel@www.dunslane.net
Whole thread Raw
In response to pg_restore ignore error patch  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: pg_restore ignore error patch  (Fabien COELHO <coelho@cri.ensmp.fr>)
List 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 by date:

Previous
From: Fabien COELHO
Date:
Subject: pg_restore ignore error patch
Next
From: Tom Lane
Date:
Subject: Re: pg_restore ignore error patch