From: Richard Huxton <dev@archonet.com>
To: Ramzi M. Zeid <ramzi.zeid@beecell.com>
Cc: Andrew Nykolyn <nykolyn@ngc.com>
Cc: Andras Got <andrej1981@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Pg-restore
Date: Wed, 22 Feb 2006 13:17:47 +0000
Message-ID: <43FC647B.4060707@archonet.com> (raw)
In-Reply-To: <001a01c637a7$a394ec70$0600a8c0@RAMZII>
References: <001a01c637a7$a394ec70$0600a8c0@RAMZII>
Ramzi M. Zeid wrote:
> Hello all,
>
> Is the any way or command to make a restore for a single table from a TAR
> file that contains many table to another DB.
pg_restore -t <tablename> will work if it's a dump in the correct
format. See the manuals for details.
If it's just a bunch of INSERTS in a file you've built yourself, then
clearly not.
--
Richard Huxton
Archonet Ltd
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-bugs@postgresql.org
Cc: dev@archonet.com, ramzi.zeid@beecell.com, nykolyn@ngc.com, andrej1981@gmail.com
Subject: Re: Pg-restore
In-Reply-To: <43FC647B.4060707@archonet.com>
References: <001a01c637a7$a394ec70$0600a8c0@RAMZII> <43FC647B.4060707@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