Обсуждение: Postgresql 64bit question

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

Postgresql 64bit question

От
Tony Caduto
Дата:
Hi,
I was just wondering if a 32bit client connected to a 64bit server,
would it be possible for the 64bit server to return a OID that was over
4 billion to the 32 bit
client and possibly cause a range error if the OID value was used in a
unsigned 32-bit integer var?

Thanks,

--
Tony


Re: Postgresql 64bit question

От
Peter Eisentraut
Дата:
Tony Caduto wrote:
> I was just wondering if a 32bit client connected to a 64bit server,
> would it be possible for the 64bit server to return a OID that was
> over 4 billion to the 32 bit
> client and possibly cause a range error if the OID value was used in
> a unsigned 32-bit integer var?

OIDs are always 32 bit.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/