From: Richard Huxton <dev@archonet.com>
To: liz@plandepot.com
To: pgsql-general@postgresql.org
Subject: Re: restore single table
Date: Wed, 18 Jul 2001 17:35:02 +0100
Message-ID: <003a01c10fa7$99593540$1001a8c0@archonet.com> (raw)
References: <3B55AF70.F8BC939A@plandepot.com>
From: "Liz Pelletier" <liz@plandepot.com>
> If I have a dump of myDB, and I want to restore only two tables from
> this dump, is there a way to do this? Or do I have to restore the entire
> db?
>
> (BTW, using 7.1 on a Debian box.)
Try pg_restore if you used pg_dump's new option (never tried it myself).
If you dumped your database as text (INSERTs/COPY) it's cut & paste time (or
a couple of greps and a short perl script).
- Richard Huxton
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: dev@archonet.com, liz@plandepot.com
Subject: Re: restore single table
In-Reply-To: <003a01c10fa7$99593540$1001a8c0@archonet.com>
References: <3B55AF70.F8BC939A@plandepot.com> <003a01c10fa7$99593540$1001a8c0@archonet.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