Re: Adding an ignore list to pg_restore, prototype p.tch #1

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Martin Pitt <mpitt(at)debian(dot)org>, pgsql-hackers(at)postgresql(dot)org, Stephen Frost <sfrost(at)snowman(dot)net>
Subject: Re: Adding an ignore list to pg_restore, prototype p.tch #1
Date: 2006-02-25 16:47:53
Message-ID: 20060225164752.GA5602@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-02-25 17:18:39 Re: Adding an ignore list to pg_restore, prototype patch #1
Previous Message Bruce Momjian 2006-02-25 16:37:36 Re: Resurrecting some old patches