From: Chris White (cjwhite) <cjwhite@cisco.com>
To: 'Tom Lane' <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: Problems doing a restore under 7.4.2
Date: Wed, 21 Apr 2004 23:45:27 -0700
Message-ID: <00aa01c42835$660f6840$0300a8c0@amer.cisco.com> (raw)
In-Reply-To: <19432.1082606525@sss.pgh.pa.us>
I got around the problem by using the --disable-triggers option on the
restore.
Chris
-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Wednesday, April 21, 2004 9:02 PM
To: cjwhite@cisco.com
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Problems doing a restore under 7.4.2
"Chris White (cjwhite)" <cjwhite@cisco.com> writes:
> I have done a backup of my 7.4.2 database using pg_dump. When I
> restore the database using the -c option I get the following error
> message and pg_restore fails
> pg_restore: [archiver (db)] could not execute query: ERROR: trigger
> "RI_ConstraintTrigger_17371" for table "vm_message" does not exist
Probably an ordering issue --- easiest workaround is not to use -c, I'd
think.
If you like, you could try CVS-tip pg_dump to see if it gets the
ordering right.
regards, tom lane
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, tgl@sss.pgh.pa.us
Subject: Re: Problems doing a restore under 7.4.2
In-Reply-To: <00aa01c42835$660f6840$0300a8c0@amer.cisco.com>
References: <19432.1082606525@sss.pgh.pa.us> <00aa01c42835$660f6840$0300a8c0@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