pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris White (cjwhite) <cjwhite@cisco.com>
To: pgsql-admin@postgresql.org
Subject: Problems restoring tables using 7.4.2
Date: Wed, 23 Jun 2004 10:11:45 -0700
Message-ID: <027801c45945$29dd7010$0200a8c0@amer.cisco.com> (raw)

I am trying to restore tables and associated large objects under 7.4.2.
I created a backup using 

pg_dump -U admin -Ft -b aesop > db.tar

When I try to restore it using the following command:

pg_restore -c -d aesop -U admin < db.tar

I get the following message:

pg_restore: [archiver (db)] could not execute query: ERROR: trigger
"RI_ConstraintTrigger_17414" for table "vm_message" does not exist

This is not a trigger I know about or created. What is the problem, this
worked okay on 7.2.1 before I upgraded to 7.4.2.

Even tried the --disable-triggers option on pg_restore, but this had no
affect.

Chris




Message-ID: <027801c45945$29dd7010$0200a8c0@amer.cisco.com>
Permalink:  ../027801c45945$29dd7010$0200a8c0@amer.cisco.com/
Also on:    postgresql.org/message-id/027801c45945$29dd7010$0200a8c0@amer.cisco.com

 · 

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: cjwhite@cisco.com
  Subject: Re: Problems restoring tables using 7.4.2
  In-Reply-To: <027801c45945$29dd7010$0200a8c0@amer.cisco.com>
  References: <027801c45945$29dd7010$0200a8c0@amer.cisco.com>

* 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