Skip site navigation (1) Skip section navigation (2)

Re: How to set the global OID counter? COPY WITH OIDS does

From: Dirk Lutzebäck <lutzeb(at)aeccom(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-admin(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org, pgsql-bugs(at)postgresql(dot)org, Sven Geisler <sgeisler(at)aeccom(dot)com>, pavel rabaev <pavel(at)aeccom(dot)com>
Subject: Re: How to set the global OID counter? COPY WITH OIDS does
Date: 2006-06-09 15:27:47
Message-ID: 44899373.6090801@aeccom.com (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-bugspgsql-general
True.

Dirk

Tom Lane wrote:
> =?ISO-8859-1?Q?Dirk_Lutzeb=E4ck?= <lutzeb(at)aeccom(dot)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(at)aeccom(dot)com> Tel +49.30.5362.1635 Fax .1638
CTO AEC/communications GmbH <http://www.aeccom.com>, Berlin, Germany

In response to

Responses

pgsql-admin by date

Next:From: Chris HooverDate: 2006-06-09 15:45:23
Subject: Best way to index large text/varchar fields
Previous:From: Tom LaneDate: 2006-06-09 15:18:23
Subject: Re: How to set the global OID counter? COPY WITH OIDS does

pgsql-bugs by date

Next:From: pat hayesDate: 2006-06-09 17:30:30
Subject: Re: BUG #2465: Installation
Previous:From: Tom LaneDate: 2006-06-09 15:18:23
Subject: Re: How to set the global OID counter? COPY WITH OIDS does

pgsql-general by date

Next:From: Adam WitneyDate: 2006-06-09 15:32:35
Subject: Re: not valid character for Unicode
Previous:From: A.M.Date: 2006-06-09 15:25:43
Subject: Re: not valid character for Unicode

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group