From: Tom Lane <tgl@sss.pgh.pa.us>
To: Willy Wonka <lunchtime@onethirty.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dumpall fails
Date: Fri, 27 Sep 2002 23:38:00 -0400
Message-ID: <9642.1033184280@sss.pgh.pa.us> (raw)
In-Reply-To: <p05111706b9baa4a03a55@[192.168.1.129]>
References: <p05111706b9baa4a03a55@[192.168.1.129]>
Willy Wonka <lunchtime@onethirty.org> 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
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: tgl@sss.pgh.pa.us, lunchtime@onethirty.org
Subject: Re: pg_dumpall fails
In-Reply-To: <9642.1033184280@sss.pgh.pa.us>
References: <p05111706b9baa4a03a55@[192.168.1.129]> <9642.1033184280@sss.pgh.pa.us>
* 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