Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 243039FB71F for ; Sun, 28 Oct 2007 20:19:36 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 88322-04 for ; Sun, 28 Oct 2007 20:19:29 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by postgresql.org (Postfix) with ESMTP id 0FD109F9FAE for ; Sun, 28 Oct 2007 20:19:29 -0300 (ADT) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ImHPh-0001lA-6u for pgsql-general@postgresql.org; Sun, 28 Oct 2007 23:19:25 +0000 Received: from ppp-82-135-8-244.dynamic.mnet-online.de ([82.135.8.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Oct 2007 23:19:25 +0000 Received: from spam_eater by ppp-82-135-8-244.dynamic.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Oct 2007 23:19:25 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-general@postgresql.org From: Thomas Kellerer Subject: Re: pg_restore Date: Mon, 29 Oct 2007 00:19:17 +0100 Lines: 11 Message-ID: References: <004401c81990$ef57e8c0$6401a8c0@owner> <200710281145.58716.aklaver@comcast.net> <005b01c819a7$65a7aea0$6401a8c0@owner> <7589.1193606901@sss.pgh.pa.us> <000c01c819ae$2a89ffb0$6401a8c0@owner> <8885.1193609937@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp-82-135-8-244.dynamic.mnet-online.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 In-Reply-To: <8885.1193609937@sss.pgh.pa.us> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/1509 X-Sequence-Number: 122801 Tom Lane wrote on 28.10.2007 23:18: > Oh, I just twigged that you are using a plain-SQL dump file (that is, > you didn't specify -Fc or -Ft to pg_dump). For plain-SQL dumps you > should not use pg_restore at all; you feed those to psql. While we are on the topic of pg_dump/pg_restore: Why is it, that pg_dump can use a compressed output directly but pg_dumpall is always using a SQL (i.e. "plain text") output? Thomas