X-Original-To: pgsql-bugs-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 4FD4A9DC806 for ; Wed, 22 Feb 2006 09:17:58 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 13243-03 for ; Wed, 22 Feb 2006 09:18:01 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from pih-relay05.plus.net (pih-relay05.plus.net [212.159.14.132]) by postgresql.org (Postfix) with ESMTP id 2702C9DC800 for ; Wed, 22 Feb 2006 09:17:56 -0400 (AST) Received: from [213.162.97.75] (helo=mail.metronet.co.uk) by pih-relay05.plus.net with esmtp (Exim) id 1FBtsL-0000jy-8e; Wed, 22 Feb 2006 13:17:49 +0000 Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 5471C40AEA6; Wed, 22 Feb 2006 13:17:48 +0000 (GMT) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 3979115EA6; Wed, 22 Feb 2006 13:17:48 +0000 (GMT) Message-ID: <43FC647B.4060707@archonet.com> Date: Wed, 22 Feb 2006 13:17:47 +0000 From: Richard Huxton User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: "Ramzi M. Zeid" Cc: Andrew Nykolyn , Andras Got , pgsql-bugs@postgresql.org Subject: Re: Pg-restore References: <001a01c637a7$a394ec70$0600a8c0@RAMZII> In-Reply-To: <001a01c637a7$a394ec70$0600a8c0@RAMZII> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.121 required=5 tests=[AWL=0.121] X-Spam-Score: 0.121 X-Spam-Level: X-Archive-Number: 200602/194 X-Sequence-Number: 14444 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 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