Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 9571A47612F for ; Fri, 27 Sep 2002 23:38:01 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id D42AC476128 for ; Fri, 27 Sep 2002 23:38:00 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g8S3c0hR009643; Fri, 27 Sep 2002 23:38:00 -0400 (EDT) To: Willy Wonka Cc: pgsql-admin@postgresql.org Subject: Re: pg_dumpall fails In-reply-to: References: Comments: In-reply-to Willy Wonka message dated "Fri, 27 Sep 2002 20:13:41 -0400" Date: Fri, 27 Sep 2002 23:38:00 -0400 Message-ID: <9642.1033184280@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/304 X-Sequence-Number: 5843 Willy Wonka writes: > i don't know what my brother has been doing on the other end, but > pg_dumpall now returns this: > SELECT nextval ('"art_links_id_seq"'); > dumpSequence(submissions_submission_id_seq): different sequence name > returned by SELECT: submissions_n_submission_id_seq What he's been doing is renaming sequences ... pg_dump doesn't like that, for no particularly good reason :-(. (This gratuitous failure is gone in 7.3, but that doesn't help you much today.) I'd suggest dropping and recreating the sequence, then using setval() to set its current value correctly. Then you should be able to pg_dump. regards, tom lane