Re: Adding an ignore list to pg_restore - Mailing list pgsql-hackers

From Martin Pitt
Subject Re: Adding an ignore list to pg_restore
Date
Msg-id 20060219111249.GB26411@box79162.elkhouse.de
Whole thread Raw
In response to Re: Adding an ignore list to pg_restore  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi Tom!

Tom Lane [2006-02-18 14:34 -0500]:
> Hm.  Rather than a variant of the -L facility (which is hard to use,
> and I don't see your proposal being much easier), maybe what's wanted
> is just a flag saying "don't try to restore data into any table whose
> creation command fails".  Maybe that should even be the default ...
> and you could extend it to indexes and constraints on such tables too,
> as those would likely end up being duplicated as well.

This comes close to my alternative proposal, it sounds fine to me.
I'll try to come up with a reasonably clean implementation and report
back then.

Thank you, and have a nice Sunday,

Martin

--
Martin Pitt              http://www.piware.de
Ubuntu Developer   http://www.ubuntulinux.org
Debian Developer        http://www.debian.org

pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: possible design bug with PQescapeString()
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Generating config stuff from single source