Re: [HACKERS] Length of OID

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Length of OID
Дата
Msg-id 7100.949014566@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Length of OID  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-hackers
Michael Meskes <meskes@postgreSQL.org> writes:
> I saw that it is a 4 byte integer on my site, but is that guaranteed?

Yes, for now anyway.

Eventually I'd like to see us offering 8-byte OIDs, because a DB that's
been running for a while could wrap around the OID counter and produce
duplicate OIDs :-(.  But until support for 8-byte "long long int" is
pretty standard, I don't think we can do it without creating tremendous
portability problems.
        regards, tom lane


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

Предыдущее
От: Kristofer Munn
Дата:
Сообщение: Orphaned files in the database...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] TODO list check