Re: BUG #3110: Online Backup introduces Duplicate OIDs - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #3110: Online Backup introduces Duplicate OIDs
Date
Msg-id 6282.1173203027@sss.pgh.pa.us
Whole thread Raw
In response to BUG #3110: Online Backup introduces Duplicate OIDs  ("Randy Isbell" <jisbell@cisco.com>)
Responses Re: BUG #3110: Online Backup introduces Duplicate OIDs
List pgsql-bugs
"Randy Isbell" <jisbell@cisco.com> writes:
> When restoring the output of an online backup, many tables now have
> duplicate OID values / primary keys, viz:
> ...
> sn=# reindex table at_dns;
> ERROR:  could not create unique index

I'm confused.  You're claiming that the reload succeeds, but after that
a reindex fails?  Are there actually duplicate OIDs in the dump file,
as evidenced by looking at it?  What pg_dump options are you using
(I suppose -o at least)?  If using pg_restore, what options there?

            regards, tom lane

pgsql-bugs by date:

Previous
From: Kris Jurka
Date:
Subject: Re: BUG #3106: A problem with escaping table name pattern for DatabaseMetaData.getColumns()
Next
From: Tom Lane
Date:
Subject: Re: BUG #3113: pg_restore --use-list=FILENAME