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

From Fabien COELHO
Subject Re: pg_restore ignore error patch
Date
Msg-id Pine.LNX.4.58.0404101036170.2356@honfleur
Whole thread Raw
In response to Re: pg_restore ignore error patch  ("Andrew Dunstan" <andrew@dunslane.net>)
Responses Re: pg_restore ignore error patch
List pgsql-patches
> > 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.

Good!

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

I looked briefly at *pg_restore* documentation, as I was interested in
pg_restore. But the logic is just mine;-)

Well, it means that you must decide a dump time if you may have to restore
in an older version. I can guess why it eased the implementation, but it
does not look good.

--
Fabien Coelho - coelho@cri.ensmp.fr

pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: COPY for CSVs
Next
From: Fabien COELHO
Date:
Subject: Re: pg_restore ignore error patch