X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 784F4D1E1BD for ; Thu, 22 Apr 2004 03:04:28 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 94417-08 for ; Thu, 22 Apr 2004 03:04:22 -0300 (ADT) Received: from www.postgresql.com (www.postgresql.com [200.46.204.209]) by svr1.postgresql.org (Postfix) with ESMTP id 1BB8AD1E11A for ; Thu, 22 Apr 2004 03:02:15 -0300 (ADT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by www.postgresql.com (Postfix) with ESMTP id D23D5CF6453 for ; Thu, 22 Apr 2004 01:02:09 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i3M425Qi019433; Thu, 22 Apr 2004 00:02:06 -0400 (EDT) To: cjwhite@cisco.com Cc: pgsql-admin@postgresql.org Subject: Re: Problems doing a restore under 7.4.2 In-reply-to: <004b01c4272e$b4141390$5cad6b80@amer.cisco.com> References: <004b01c4272e$b4141390$5cad6b80@amer.cisco.com> Comments: In-reply-to "Chris White (cjwhite)" message dated "Tue, 20 Apr 2004 16:25:01 -0700" Date: Thu, 22 Apr 2004 00:02:05 -0400 Message-ID: <19432.1082606525@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200404/284 X-Sequence-Number: 13257 "Chris White (cjwhite)" 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