Re: pg_restore bug in 7.4.1 ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Subject: Re: pg_restore bug in 7.4.1 ?
Date: 2004-02-02 17:32:05
Message-ID: 14409.1075743125@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Fabien COELHO <coelho(at)cri(dot)ensmp(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruno Wolff III 2004-02-02 17:49:04 Re: Update Syntax
Previous Message Steve Tibbett 2004-02-02 16:45:10 Re: [HACKERS] What's left?