Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 603AD475484 for ; Tue, 26 Feb 2002 18:20:22 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g1QNJtS13283; Tue, 26 Feb 2002 18:19:55 -0500 (EST) To: Trevor Astrope Cc: pgsql-admin@postgresql.org Subject: Re: Help pg_restore In-reply-to: References: Comments: In-reply-to Trevor Astrope message dated "Mon, 25 Feb 2002 11:20:59 -0500" Date: Tue, 26 Feb 2002 18:19:54 -0500 Message-ID: <13280.1014765594@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200202/368 X-Sequence-Number: 3521 Trevor Astrope writes: > I'm trying to restore a database dumped with pg_dump with the -o -Fc > options with pg_restore from a 7.1.3 database into a 7.1.3 database on > another machine. > When using the -d option in pg_restore, I get this error: > Connecting to database for restore > Creating Max OID > Archiver(db): Could not execute query. No result from backend. This is a known bug in 7.1.* pg_restore: it doesn't work with -o -Fc (nor -o -Ft) archives. It's fixed in 7.2. If you don't want to update your server to 7.2 just yet, I believe it will work to install only the 7.2 version of pg_restore and use that to restore this archive. regards, tom lane