Re: pg_dump: query to get data of sequence "blahblahthis" returned name "blahblahthat" - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_dump: query to get data of sequence "blahblahthis" returned name "blahblahthat"
Date
Msg-id 29289.1034823690@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump: query to get data of sequence "blahblahthis" returned name "blahblahthat"  ("Robert John Shepherd" <robert@reviewer.co.uk>)
Responses Re: pg_dump: query to get data of sequence "blahblahthis" returned name "blahblahthat"
List pgsql-general
"Robert John Shepherd" <robert@reviewer.co.uk> writes:
> When trying to do a pg_dumpall I get:
> dumping database "Reviewer"...
> pg_dump: query to get data of sequence "intartistmemberindex_key"
> returned name "tblartistsmembers_intartistmemb"
> pg_dump failed on Reviewer, exiting

> Having googled around a bit I've discovered this is because I have
> renamed a few sequences.

Yup.

> is there any known fix to work around this problem?

Sure, remove the test in pg_dump that looks at the sequence_name field
of the sequence.  We decided that was a dumb idea and diked it out for
7.3 ...

            regards, tom lane

pgsql-general by date:

Previous
From: Adam Siegel
Date:
Subject: pg_dump on large columns
Next
From: Lamar Owen
Date:
Subject: Re: Has anyone seen this SPARC bug? [Fwd: Bug#165060: postgresql: int8 value out of range on sparc]