pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hannes Dorbath <light@theendofthetunnel.de>
To: pgsql-admin@postgresql.org
Subject: Re: pg_restore fails
Date: Thu, 22 Sep 2005 17:57:54 +0200
Message-ID: <dguka5$80n$2@news.hub.org> (raw)
In-Reply-To: <dgdlau$2vhi$1@relay.tomsk.ru>
References: <dgdlau$2vhi$1@relay.tomsk.ru>

On 16.09.2005 07:31, Victor Sudakov wrote:
> Is there any way to fix or workaround this except editing the dump with a text editor (very frustrating with dozens of objects in several schemas being out of order)?

In case you only have a text dump.. uhm.. No.
In case it's a binary dump, using a newer version of pg_restore (8.0 
oder 8.1 for example) with -i option should fix it to my understanding.


Best regards,
Hannes Dorbath



Message-ID: <dguka5$80n$2@news.hub.org>
Permalink:  ../dguka5$80n$2@news.hub.org/
Also on:    postgresql.org/message-id/dguka5$80n$2@news.hub.org

 · 

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: light@theendofthetunnel.de
  Subject: Re: pg_restore fails
  In-Reply-To: <dguka5$80n$2@news.hub.org>
  References: <dgdlau$2vhi$1@relay.tomsk.ru> <dguka5$80n$2@news.hub.org>

* 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