Re: OID unsigned long long

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: mlw <markw(at)mohawksoft(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: OID unsigned long long
Date: 2001-08-14 15:00:44
Message-ID: Pine.LNX.4.30.0108141659340.677-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-08-14 15:12:51 Re: Help with Vacuum Failure
Previous Message Tom Lane 2001-08-14 15:00:29 Re: Re: Use int8 for int4/int2 aggregate accumulators?