Re: pg_migrator progress

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_migrator progress
Дата
Msg-id 6751.1234970437@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_migrator progress  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: pg_migrator progress
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: WIP: hooking parser
Следующее
От: Sam Mason
Дата:
Сообщение: Re: The science of optimization in practical terms?