Re: OIDs (Or: another RTFM question?) - Mailing list pgsql-general

From Tom Lane
Subject Re: OIDs (Or: another RTFM question?)
Date
Msg-id 10639.1026876177@sss.pgh.pa.us
Whole thread Raw
In response to Re: OIDs (Or: another RTFM question?)  (Joel Rees <joel@alpsgiken.gr.jp>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: OIDs (Or: another RTFM question?)
Next
From: Tom Lane
Date:
Subject: Re: Fortran functions?