pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@2ndquadrant.com>
To: b.rychtarski@teb-akademia.pl
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8443: duplicated oids after dump
Date: Wed, 11 Sep 2013 15:37:55 +0200
Message-ID: <20130911133755.GA1109938@alap2.anarazel.de> (raw)
In-Reply-To: <E1VJjCf-0003uh-JM@wrigleys.postgresql.org>
References: <E1VJjCf-0003uh-JM@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 2013-09-11 12:07:25 +0000, b.rychtarski@teb-akademia.pl wrote:
> executed full dump of database without oids:
> pg_dump -v -a -E UTF8  --disable-dollar-quoting --disable-triggers
> 
> 
> after restoring database from dump in each table there are rows with
> duplicated oids

So, just to make sure I understand you correctly: You dumped a database
in a form that doesn't contain oids, loaded it into a new one where the
preexisting schema uses oids in user tables? After loading that data
there were duplicate oids?

* Do you have a unique constraint over the oid columns?
* Was there any preexisting data?
* Were there any concurrent inserts?
* Are the "duplicates" rows in the same relation or in different ones?
* How many records do exist in the restore you made?

Greetings,

Andres Freund

-- 
 Andres Freund	                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)

Message-ID: <20130911133755.GA1109938@alap2.anarazel.de>
Permalink:  ../20130911133755.GA1109938@alap2.anarazel.de/
Also on:    postgresql.org/message-id/20130911133755.GA1109938@alap2.anarazel.de

 · 

reply

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-bugs@postgresql.org
  Cc: andres@2ndquadrant.com, b.rychtarski@teb-akademia.pl
  Subject: Re: BUG #8443: duplicated oids after dump
  In-Reply-To: <20130911133755.GA1109938@alap2.anarazel.de>
  References: <E1VJjCf-0003uh-JM@wrigleys.postgresql.org> <20130911133755.GA1109938@alap2.anarazel.de>

* 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