Postgresql 64bit question

Started by Tony Cadutoabout 19 years ago2 messagesgeneral
Jump to latest
#1Tony Caduto
tony_caduto@amsoftwaredesign.com

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

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Tony Caduto (#1)
Re: Postgresql 64bit question

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/