pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Trevor Astrope <astrope@e-corp.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Help pg_restore
Date: Tue, 26 Feb 2002 18:19:54 -0500
Message-ID: <13280.1014765594@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.33.0202251116560.29822-100000@gord.hip.tabbweb.com>
References: <Pine.LNX.4.33.0202251116560.29822-100000@gord.hip.tabbweb.com>

Trevor Astrope <astrope@e-corp.net> 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 <Init> 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



view thread (2+ messages)

Message-ID: <13280.1014765594@sss.pgh.pa.us>
Permalink:  ../13280.1014765594@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13280.1014765594@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, astrope@e-corp.net
  Subject: Re: Help pg_restore
  In-Reply-To: <13280.1014765594@sss.pgh.pa.us>
  References: <Pine.LNX.4.33.0202251116560.29822-100000@gord.hip.tabbweb.com> <13280.1014765594@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox