Re: OIDs (Or: another RTFM question?)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: OIDs (Or: another RTFM question?)
Дата
Msg-id 10639.1026876177@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: OIDs (Or: another RTFM question?)  (Joel Rees <joel@alpsgiken.gr.jp>)
Список pgsql-general
Joel Rees <joel@alpsgiken.gr.jp> writes:
> Tom Lane explained:
>> Basically what WITHOUT OIDS does for you is to reduce consumption of
>> OIDs, thereby postponing wraparound of the 32-bit OID counter.

> How much of a pain would it be to make that a 64-bit counter?

It'd be nontrivial, primarily because of portability issues: not all
platforms even have 64-bit ints, much less 64-bit ints that are fast
enough to justify making a core datatype be 64 bits.  (Not only OID,
but also Datum, would have to become 64 bits.  That is a *very*
pervasive change, and one with serious implications for performance.)

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: OIDs (Or: another RTFM question?)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Fortran functions?