Re: pg_migrator progress - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_migrator progress
Date
Msg-id 6751.1234970437@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_migrator progress  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: pg_migrator progress  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
>> /* XXX do we need this at all?  */
>> /*
>> *      Assuming OIDs are only used in system tables, there is no need to
>> *      restore the OID counter because we have not transfered any OIDs
>> *      from the old system.
>> */

> It's certainly not impossible for someone to be using OIDs on user
> tables, is it?

No, but this would just be the same situation that prevails after
OID-counter wraparound, so I don't see a compelling need for us to
change the OID counter in the new DB.  If the user has done the Proper
Things (ie, made unique indexes on his OIDs) then it won't matter.
If he didn't, his old DB was a time bomb anyway.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: WIP: hooking parser
Next
From: Sam Mason
Date:
Subject: Re: The science of optimization in practical terms?