Re: pg_dump: query to get data of sequence "blahblahthis" returned name "blahblahthat"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Robert John Shepherd" <robert(at)reviewer(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump: query to get data of sequence "blahblahthis" returned name "blahblahthat"
Date: 2002-10-17 03:01:30
Message-ID: 29289.1034823690@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Robert John Shepherd" <robert(at)reviewer(dot)co(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lamar Owen 2002-10-17 03:03:21 Re: Has anyone seen this SPARC bug? [Fwd: Bug#165060: postgresql: int8 value out of range on sparc]
Previous Message Robert John Shepherd 2002-10-17 00:01:24 pg_dump: query to get data of sequence "blahblahthis" returned name "blahblahthat"