Re: Adding an ignore list to pg_restore

From: Martin Pitt <mpitt(at)debian(dot)org>
To: pgsql-hackers(at)postgresql(dot)org, Stephen Frost <sfrost(at)snowman(dot)net>
Subject: Re: Adding an ignore list to pg_restore
Date: 2006-02-18 19:00:38
Message-ID: 20060218190038.GB7729@piware.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Tom!

Tom Lane [2006-02-18 13:32 -0500]:
> Martin Pitt <mpitt(at)debian(dot)org> writes:
> > 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.

The problem is that pg_restore would restore the TABLE DATA object,
although we don't want that (the postgis specific tables are
pre-populated by PostGIS itself, and should not be altered by the
upgrade.

(Stephen knows the details of PostGIS).

Thanks,

Martin
--
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?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephan Szabo 2006-02-18 19:03:39 Re: [SQL] Interval subtracting
Previous Message Martijn van Oosterhout 2006-02-18 18:52:22 Config file for psql