Re: Dump only part of a DB - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: Dump only part of a DB
Date
Msg-id 200406100426.i5A4Q1B17161@candle.pha.pa.us
Whole thread Raw
In response to Re: Dump only part of a DB  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Tom Lane wrote:
> "David F. Skoll" <dfs@roaringpenguin.com> writes:
> > pg_dump can be used to dump an entire database, or just a single
> > table.  Is there a way to make a consistent dump of more than one
> > table, but less than all of the tables in the database?
>
> This has been discussed before, and I think we had agreed that the
> Right Thing is to make pg_dump accept more than one -t switch (also
> more than one -n switch, at the schema level), and dump anything
> that matches any -t or -n switch.
>
> No one's got round to making this happen, but it seems like it
> should not be a big job.  Want to send in a patch?

Added to TODO:

    * Allow pg_dump to use multiple -t and -n switches

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Dump only part of a DB
Next
From: "lise chhay"
Date:
Subject: "select * from groupes" didn't display any data