Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VJkcU-0004TE-HD for pgsql-bugs@arkaria.postgresql.org; Wed, 11 Sep 2013 13:38:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VJkcU-00081W-1o for pgsql-bugs@arkaria.postgresql.org; Wed, 11 Sep 2013 13:38:10 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VJkcT-00081P-E0 for pgsql-bugs@postgresql.org; Wed, 11 Sep 2013 13:38:09 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VJkcQ-0004I3-A7 for pgsql-bugs@postgresql.org; Wed, 11 Sep 2013 13:38:08 +0000 Received: from intern.anarazel.de (unknown [89.204.130.158]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id 3F9A44E8002; Wed, 11 Sep 2013 15:38:03 +0200 (CEST) Date: Wed, 11 Sep 2013 15:37:55 +0200 From: Andres Freund To: b.rychtarski@teb-akademia.pl Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #8443: duplicated oids after dump Message-ID: <20130911133755.GA1109938@alap2.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -0.7 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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