Re: Dump all except some tables? - Mailing list pgsql-general

From David Fetter
Subject Re: Dump all except some tables?
Date
Msg-id 20051006193225.GB29826@fetter.org
Whole thread Raw
In response to Re: Dump all except some tables?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Dump all except some tables?  ("Jim C. Nasby" <jnasby@pervasive.com>)
List pgsql-general
On Thu, Oct 06, 2005 at 09:51:22AM -0400, Tom Lane wrote:
> WireSpot <wirespot@gmail.com> writes:
> > On 10/6/05, A. Kretschmer <akretschmer@despammed.com> wrote:
> >> You can use the -t more than once.
> >>
> >> pg_dump -U foobar database -t foo -t foo1
>
> > Yes, pg_dump doesn't complain. But it only takes the first one
> > into consideration. I only get one table in the dump.
>
> Right.  That's on the TODO list but not done yet :-(.

There have been several patches against pg_dump to do both
multiple-table inclusion and multiple-table exclusion.  These may get
into 8.2, as they missed 8.1.

Cheers,
D
--
David Fetter david@fetter.org http://fetter.org/
phone: +1 510 893 6100   mobile: +1 415 235 3778

Remember to vote!

pgsql-general by date:

Previous
From: CSN
Date:
Subject: Re: PostgreSQL 8.1 vs. MySQL 5.0?
Next
From: David Fetter
Date:
Subject: Re: PostgreSQL Gotchas