pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bricklen Anderson <banderson@presinet.com>
To: Karthikeyan Sundaram <skarthi98@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dump inquiry
Date: Wed, 28 Feb 2007 15:05:08 -0800
Message-ID: <45E60AA4.5090504@presinet.com> (raw)
In-Reply-To: <BAY131-F119CCDEEE689FAB33DADA3B0810@phx.gbl>
References: <BAY131-F119CCDEEE689FAB33DADA3B0810@phx.gbl>

Karthikeyan Sundaram wrote:
> Hi,
> 
>    I have to dump only 10 tables out of 100 tables.  In the pg_dump utility 
> given by postgres there is an option called -t followed by table name.
> 
>     In that option, if I give more than 1 table, it's not accepting.
> 
>     How can I get the dump in one stroke for all the 10 tables? Please 
> advise.
> 
> Regards
> skarthi

If you are using postgresql 8.2, you can specify multiple tables
http://www.postgresql.org/docs/8.2/interactive/app-pgdump.html

Don't think that that was possible before 8.2, though.



view thread (4+ messages)  latest in thread

Message-ID: <45E60AA4.5090504@presinet.com>
Permalink:  ../45E60AA4.5090504@presinet.com/
Also on:    postgresql.org/message-id/45E60AA4.5090504@presinet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: banderson@presinet.com, skarthi98@hotmail.com, pgsql-admin@postgresql.org
  Subject: Re: pg_dump inquiry
  In-Reply-To: <45E60AA4.5090504@presinet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox