Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 9495C9FB94A for ; Sun, 28 Oct 2007 19:04:15 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 78624-10 for ; Sun, 28 Oct 2007 19:04:12 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from pd3mo3so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by postgresql.org (Postfix) with ESMTP id 35A279FB79C for ; Sun, 28 Oct 2007 19:04:12 -0300 (ADT) Received: from pd3mr3so.prod.shaw.ca (pd3mr3so-qfe3.prod.shaw.ca [10.0.141.179]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JQN00I3T6LKIJ80@l-daemon> for pgsql-general@postgresql.org; Sun, 28 Oct 2007 16:03:20 -0600 (MDT) Received: from pn2ml8so.prod.shaw.ca ([10.0.121.152]) by pd3mr3so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JQN008NG6LKFQ50@pd3mr3so.prod.shaw.ca> for pgsql-general@postgresql.org; Sun, 28 Oct 2007 16:03:21 -0600 (MDT) Received: from owner ([24.70.116.65]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0JQN007JS6LADV70@l-daemon> for pgsql-general@postgresql.org; Sun, 28 Oct 2007 16:03:20 -0600 (MDT) Date: Sun, 28 Oct 2007 15:01:58 -0700 From: Bob Pawley Subject: Re: pg_restore To: Tom Lane Cc: Adrian Klaver , pgsql-general@postgresql.org Message-id: <000c01c819ae$2a89ffb0$6401a8c0@owner> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Mailer: Microsoft Outlook Express 6.00.2900.3138 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal References: <004401c81990$ef57e8c0$6401a8c0@owner> <200710281145.58716.aklaver@comcast.net> <005b01c819a7$65a7aea0$6401a8c0@owner> <7589.1193606901@sss.pgh.pa.us> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/1503 X-Sequence-Number: 122795 The latest in the saga - By using - pg_restore -h localhost -d PDW -U postgres aurel.sql I get the message - pg_restore: input file does not appear to be a valid archive. I get this message when I used the aurel.sql file which I previously loaded successfully in 8.1 and also when I use an aurel.sql file which I just successfully dumped a few minutes ago from the 8.1 on my other computer. Could pg_restore in my 8.2 be corrupted?? Bob ----- Original Message ----- From: "Tom Lane" To: "Bob Pawley" Cc: "Adrian Klaver" ; Sent: Sunday, October 28, 2007 2:28 PM Subject: Re: [GENERAL] pg_restore > Bob Pawley writes: >> This is becoming quite frustrating. > > The errant "psql" is your problem ... although pg_restore is being > quite unhelpful by not mentioning the filename that it's trying to open. > > regards, tom lane