Re: [ADMIN] How to set the global OID counter? COPY WITH OIDS does - Mailing list pgsql-general

From Dirk Lutzebäck
Subject Re: [ADMIN] How to set the global OID counter? COPY WITH OIDS does
Date
Msg-id 44899373.6090801@aeccom.com
Whole thread Raw
In response to Re: [ADMIN] How to set the global OID counter? COPY WITH OIDS does  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [ADMIN] How to set the global OID counter? COPY WITH OIDS does  ("Jim C. Nasby" <jnasby@pervasive.com>)
List pgsql-general
True.

Dirk

Tom Lane wrote:
Dirk Lutzebäck <lutzeb@aeccom.com> writes: 
This is not a large object. We are seeing rows with duplicate oids 
because the OID counter is not changed after the dump (exported with 
--oids) is being loaded.
How does 8.1 prevent to allocate duplicate OIDs?   
If there's a unique index on the OID column then 8.1 will not allocate
duplicate OIDs.  If there's not such a unique index, you had no
guarantee of no-duplicates before 8.1 either.
		regards, tom lane 

--
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you should not copy it, re-transmit it, use it or disclose its contents, but should return it to the sender immediately and delete your copy from your system. Thank you for your cooperation.

Dirk Lutzebäck <lutzeb@aeccom.com> Tel +49.30.5362.1635 Fax .1638
CTO AEC/communications GmbH, Berlin, Germany

pgsql-general by date:

Previous
From: "A.M."
Date:
Subject: Re: not valid character for Unicode
Next
From: Adam Witney
Date:
Subject: Re: not valid character for Unicode