agora inbox for pgsql-admin@postgresql.org  
help / color / mirror / Atom feed
From: Gourish Singbal <gourish@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Pg_dump
Date: Sun, 26 Dec 2004 15:39:48 +0530
Message-ID: <674d1f8a04122602097b3fa678@mail.gmail.com> (raw)

1) I want to take a pg_dump of only few tables 

/usr/local/pgsql/bin/pg_dump -t [table_name] database_name > file.out

allows me only to take dump of single table. Is there a way to take
dump of more than one specific tables.

2) Does pg_dump allow me to take dump of a table so that only some
records are included in the dump (Some thing like specifying a QUERY
in the pg_dump)


-- 
Best,
Gourish Singbal



view thread (42+ messages)  latest in thread

Message-ID: <674d1f8a04122602097b3fa678@mail.gmail.com>
Permalink:  ../674d1f8a04122602097b3fa678@mail.gmail.com/
Also on:    postgresql.org/message-id/674d1f8a04122602097b3fa678@mail.gmail.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-admin@postgresql.org
  Cc: gourish@gmail.com
  Subject: Re: Pg_dump
  In-Reply-To: <674d1f8a04122602097b3fa678@mail.gmail.com>

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

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