X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EEAAF329E7C for ; Mon, 20 Sep 2004 15:40:29 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 75863-02 for ; Mon, 20 Sep 2004 14:40:21 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 80856329C67 for ; Mon, 20 Sep 2004 15:40:25 +0100 (BST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id i8KEePNZ011353; Mon, 20 Sep 2004 10:40:25 -0400 (EDT) To: chen@musc.edu Cc: pgsql-admin@postgresql.org Subject: Re: pg_dumpall failed In-reply-to: <414ECD87.4040602@musc.edu> References: <414ECD87.4040602@musc.edu> Comments: In-reply-to Chuming Chen message dated "Mon, 20 Sep 2004 08:31:03 -0400" Date: Mon, 20 Sep 2004 10:40:25 -0400 Message-ID: <11352.1095691225@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/171 X-Sequence-Number: 14874 Chuming Chen writes: > I am using pg_dumpall (pg_dumpall -o > backup) to backup postgresql > 7.2.3 datatbase on Redhat Linux 8. It worked well, but recently, it > failed and gave me the following messages: > pg_dump: query to get data of sequence "est_att_p_por_id_seq" returned > name "est_att_p_porites_id_seq" > pg_dumap failed on xxxxx, exiting > Can anybody tell me what might go wrong here? You renamed the sequence. pg_dump back then had a (misguided) consistency check that would barf on renamed sequences. If you don't mind hacking the source code, it's a simple deletion of a few lines to take it out. 7.2.3 is pretty nearly ancient history; I'd suggest an update. regards, tom lane