pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Düster Horst <Horst.Duester@bd.so.ch>
To: 'pgsql-admin@postgresql.org' <pgsql-admin@postgresql.org>
Subject: pg_restore error
Date: Thu, 28 Oct 2004 16:48:18 +0100
Message-ID: <5B025B1F39D6D4119F5700508BEEEC66F94BF2@SRSOFAIOI4546> (raw)

Hallo

I dumped a database with large objects with the command pg_dump -Fc -b
dbname > dbname.dmp

To restore the DB I use pg_restore -d newdb dbname.dmp.
The restore process breakes with the following error message:

pg_restore: [archiver (db)] could not execute query: ERROR: relation
"tablename" does not exist.

I'm a little bit confused about that, because I thought that this error
could not happen, due to pg_restore seems to generate the items in an
optimal order. Isn't it??

I appreciate for any hints.

With best regards.

Dr. Horst Düster 
GIS-Koordinator

Kanton Solothurn 
Amt für Geoinformation
Abteilung SO!GIS Koordination
Werkhofstr. 65
CH-4509 Solothurn 

Tel.: ++41 (0)32 627 25 32 
Fax: ++41 (0)32 627 22 14

horst.duester@bd.so.ch 
www.sogis.so.ch




view thread (26+ messages)  latest in thread

Message-ID: <5B025B1F39D6D4119F5700508BEEEC66F94BF2@SRSOFAIOI4546>
Permalink:  ../5B025B1F39D6D4119F5700508BEEEC66F94BF2@SRSOFAIOI4546/
Also on:    postgresql.org/message-id/5B025B1F39D6D4119F5700508BEEEC66F94BF2@SRSOFAIOI4546

 · 

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: Horst.Duester@bd.so.ch
  Subject: Re: pg_restore error
  In-Reply-To: <5B025B1F39D6D4119F5700508BEEEC66F94BF2@SRSOFAIOI4546>
  References: <5B025B1F39D6D4119F5700508BEEEC66F94BF2@SRSOFAIOI4546>

* 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