Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 899959FB1F2 for ; Wed, 25 Oct 2006 12:20:13 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 75694-10 for ; Wed, 25 Oct 2006 12:20:09 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 27EE29FB1D5 for ; Wed, 25 Oct 2006 12:20:09 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from smtp3.ualg.pt (smtp3.ualg.pt [193.136.224.6]) by svr4.postgresql.org (Postfix) with ESMTP id 9155E5AF038 for ; Wed, 25 Oct 2006 15:20:08 +0000 (GMT) Received: by smtp3.ualg.pt (Postfix, from userid 501) id 005CA1E184A; Wed, 25 Oct 2006 16:20:03 +0100 (WEST) Received: from localhost (smtp3.ualg.pt [127.0.0.1]) by smtp3.ualg.pt (Postfix) with ESMTP id DE2241E18E6 for ; Wed, 25 Oct 2006 16:20:03 +0100 (WEST) X-Virus-Scanned: amavisd-new at ualg.pt Received: from smtp3.ualg.pt ([127.0.0.1]) by localhost (smtp3.ualg.pt [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VPRVAuT+ivxD for ; Wed, 25 Oct 2006 16:20:03 +0100 (WEST) Received: from [10.17.20.14] (unknown [10.17.20.14]) by smtp3.ualg.pt (Postfix) with ESMTP id 6BB4E1E194C for ; Wed, 25 Oct 2006 16:20:02 +0100 (WEST) Message-ID: <453F809F.6050007@ualg.pt> Date: Wed, 25 Oct 2006 16:19:59 +0100 From: =?ISO-8859-1?Q?Lu=EDs_Sousa?= User-Agent: Debian Thunderbird 1.0.2 (X11/20060926) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin Subject: pg_restore inside a transaction block Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.211 tagged_above=0 required=5 tests=AWL, SPF_SOFTFAIL X-Spam-Level: * X-Archive-Number: 200610/160 X-Sequence-Number: 23463 Hi, Is it possible to do a pg_restore inside a block transaction? That is, if something goes wrong on restore all data can be rolled back. Thanks Luís Sousa