Обсуждение: oid size on 64 bit machine

Поиск
Список
Период
Сортировка

oid size on 64 bit machine

От
Geoffrey
Дата:
Do I get more oids on a 64 bit machine?  That is, is it also an unsigned
four-byte integer on a 64 bit machine?

--
Until later, Geoffrey

Re: oid size on 64 bit machine

От
Tom Lane
Дата:
Geoffrey <esoteric@3times25.net> writes:
> Do I get more oids on a 64 bit machine?

No.

            regards, tom lane

Re: oid size on 64 bit machine

От
Neil Conway
Дата:
On Thu, 2004-11-11 at 14:34 -0500, Tom Lane wrote:
> Geoffrey <esoteric@3times25.net> writes:
> > Do I get more oids on a 64 bit machine?
>
> No.

Nor will OIDs ever be 64 bit, I'd hazard to guess.

In any case using OIDs in applications is a bad idea -- you probably
should not be using them at all, let alone using more than 2^32 of them.

-Neil