Re: Re: AW: Re: OID wraparound: summary and proposal

Поиск
Список
Период
Сортировка
От mlw
Тема Re: Re: AW: Re: OID wraparound: summary and proposal
Дата
Msg-id 3B6EF02C.528FA4E8@mohawksoft.com
обсуждение исходный текст
Ответ на RE: Re: AW: Re: OID wraparound: summary and proposal  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Список pgsql-hackers
Could we modify the Relation structure to hold an Oid counter? So every where
Postgres calls "newoid(void)" it gets changed to pass the relation structure it
will be associated with, i.e. newoid(Relation *). That way, every relation
could have its own counter, AND perhaps its own spinlock. Relations are shared
amongst the various processes, correct? If you pass NULL as the relation, you
get an OID out of the ShmemVariableCache->nextXid.

Am I being overly simplistic?




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Use int8 for int4/int2 aggregate accumulators?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Notes about int8 sequences