Re: Killing OIDs

From: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: rod(at)iol(dot)ie, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Killing OIDs
Date: 2009-02-12 17:02:12
Message-ID: 49945614.3070803@pinpointresearch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Scott Marlowe wrote:
>
>> Close. It actually does a "SET default_with_oids = true;" (or false) prior
>> to the CREATE TABLE statement. In any case, it does preserve the OID setting
>> of the source database.
>>
>
> So, I'd think it would be easier to just edit the backup than to muck
> around in the 7.4 database.
>
The query to generate the drop-OID script runs in a fraction of a second
and the drop-OID script itself takes a second or two and I'm done. The
alternative requires running many gigs through sed (multiple times since
I have to run preliminary tests).

Cheers,
Steve

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2009-02-12 17:35:43 Re: row constructors
Previous Message Rory Campbell-Lange 2009-02-12 16:38:33 Re: row constructors