Re: Adding an ignore list to pg_restore, prototype p.tch #1 - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Adding an ignore list to pg_restore, prototype p.tch #1
Date
Msg-id 20060225164752.GA5602@surnet.cl
Whole thread Raw
In response to Re: Adding an ignore list to pg_restore, prototype patch #1  (Martin Pitt <mpitt@debian.org>)
Responses Re: Adding an ignore list to pg_restore, patch take #3
List pgsql-hackers
Martin Pitt wrote:
> Hi again,
> 
> Martin Pitt [2006-02-19 14:39 +0100]:
> > Since this changes the behaviour of pg_restore, this should probably
> > become an option, e. g. -D / --ignore-existing-table-data. I'll do
> > this if you agree to the principle of the current patch.
> 
> I improved the patch now to only ignore TABLE DATA for existing tables
> if '-X ignore-existing-tables' is specified. I also updated the
> documentation.

Is this really an appropiate description for the behavior?  What happens
if the table is not created for some other reason?  Consider for example
a table using a datatype that couldn't be created.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Resurrecting some old patches
Next
From: Tom Lane
Date:
Subject: Re: Adding an ignore list to pg_restore, prototype patch #1