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. --------------------------------------------------------------------------- Martin Pitt wrote: -- Start of PGP signed section. > 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. > > Since this doesn't change the default behaviour now any more, I would > like to put this patch into the Debian packages to provide automatic > upgrades for PostGIS-enabled databases (see [1]). Does anyone object > to this? > > Do you consider to adopt this upstream? > > Thanks in advance, and have a nice weekend! > > Martin > > [1] http://bugs.debian.org/351571 > > -- > Martin Pitt http://www.piware.de > Ubuntu Developer http://www.ubuntu.com > Debian Developer http://www.debian.org > > In a world without walls and fences, who needs Windows and Gates? [ Attachment, skipping... ] -- End of PGP section, PGP failed! -- Bruce Momjian http://candle.pha.pa.us SRA OSS, Inc. http://www.sraoss.com + If your life is a hard drive, Christ can be your backup. + ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings