Re: pg_restore bug in 7.4.1 ? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_restore bug in 7.4.1 ?
Date
Msg-id 14409.1075743125@sss.pgh.pa.us
Whole thread Raw
In response to pg_restore bug in 7.4.1 ?  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: pg_restore bug in 7.4.1 ?  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
Fabien COELHO <coelho@cri.ensmp.fr> writes:
> It would make sense to ignore some alter/drop errors in pg_restore.

For the most part I think pg_restore should ignore *all* SQL errors and
try to keep plugging.  This would more nearly emulate the behavior of
pg_dump SQL scripts, which is the older and better-tested means of
restoring stuff.  There's no downside that I can see --- if the restored
database is too screwed up to use, you can drop it and try again.

This issue has been on the radar screen for awhile, but no one has
gotten around to making it happen...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Jan Wieck
Date:
Subject: Re: [pgsql-hackers-win32] What's left?
Next
From: Bruno Wolff III
Date:
Subject: Re: Update Syntax