Re: [HACKERS] Adding an ignore list to pg_restore, prototype patch #1

2006-02-28 Thread Bruce Momjian
I will clean it up before applying. Your patch has been added to the PostgreSQL unapplied patches list at: http://momjian.postgresql.org/cgi-bin/pgpatches It will be applied as soon as one of the PostgreSQL committers reviews and approves it.

Re: [HACKERS] Adding an ignore list to pg_restore, prototype patch #1

2006-02-25 Thread Martin Pitt
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

Re: [HACKERS] Adding an ignore list to pg_restore, prototype patch #1

2006-02-25 Thread Tom Lane
Martin Pitt [EMAIL PROTECTED] writes: 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

Re: [HACKERS] Adding an ignore list to pg_restore, prototype patch #1

2006-02-19 Thread Martin Pitt
Hi again, Tom Lane [2006-02-18 14:34 -0500]: The core problem is that we want to not restore objects (mainly tables) in the destination database which already exist. Why is this a problem? It's already the default behavior --- the creation commands fail but pg_restore keeps going.

Re: [HACKERS] Adding an ignore list to pg_restore, prototype patch #1

2006-02-19 Thread Martin Pitt
Hi again, Meh, the list server didn't like the attached test script, so I put it here: http://people.debian.org/~mpitt/test-pg_restore-existing.sh Martin -- Martin Pitthttp://www.piware.de Ubuntu Developer http://www.ubuntu.com Debian Developer http://www.debian.org In a world