Re: OID unsigned long long - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: OID unsigned long long
Date
Msg-id Pine.LNX.4.30.0108141659340.677-100000@peter.localdomain
Whole thread Raw
In response to OID unsigned long long  (mlw <markw@mohawksoft.com>)
List pgsql-hackers
mlw writes:

> I am thinking about embarking on changing the typedef of OID to unsigned long
> long.

> Aside from adding %llu to all the %u everywhere an OID is used in a printf, and
> any other warnings, are there any other things I should be specially concerned
> about?

You can start with my patch at

http://www.ca.postgresql.org/~petere/oid8.html

See the comments on that page and the other responses.  It ain't pretty.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Re: Use int8 for int4/int2 aggregate accumulators?
Next
From: "Serguei Mokhov"
Date:
Subject: Re: int8 sequences --- small implementation problem