Re: pg_restore ignore error patch

From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: pg_restore ignore error patch
Date: 2004-04-09 19:15:50
Message-ID: 2346.24.211.141.25.1081538150.squirrel@www.dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-04-09 19:32:06 Re: pg_restore ignore error patch
Previous Message Fabien COELHO 2004-04-09 18:56:23 pg_restore ignore error patch