Re: OID unsigned long long

From: Larry Rosenman <ler(at)lerctr(dot)org>
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 02:26:24
Message-ID: 20010813212624.A8383@lerami.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* mlw <markw(at)mohawksoft(dot)com> [010813 21:06]:
> I am thinking about embarking on changing the typedef of OID to unsigned long
> long.
>
> My plan is to make it conditional at configure time, i.e.
>
> #ifdef OID_ULONGLONG
> typedef unsigned long long Oid;
> #define OID_MAX ULLONG_MAX
> #else
> typedef unsigned int Oid;
> #define OID_MAX UINT_MAX
> #endif
>
> 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?
>
The wire protocol.......

LER

>
> --
> 5-4-3-2-1 Thunderbirds are GO!
> ------------------------
> http://www.mohawksoft.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tim Allen 2001-08-14 02:36:19 Re: Vague idea for allowing per-column locale
Previous Message Dwayne Miller 2001-08-14 02:13:43 Bug List