Re: Oid?

From: Neil Conway <neilc(at)samurai(dot)com>
To: Sibtay Abbas <sibtay_abbas(at)yahoo(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Oid?
Date: 2004-12-06 08:41:06
Message-ID: 1102322466.1494.32.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 2004-12-06 at 00:29 -0800, Sibtay Abbas wrote:
> i see an attribute 'oid_value' with 'Oid' type in
> the ListCell union.
>
> can anyone tell me what does it represents?

Given a linked list of type T_OidList, oid_value holds the data in a
node of the list. Although int_value and oid_value are the same size at
the moment, (a) Oid is unsigned (b) there has been some thought about
changing the size of Oid (to make it 64-bit). While (b) isn't likely to
happen anytime soon AFAIK, the two types of lists are kept separate.
This also helps to reduce the need for casting.

-Neil

In response to

  • Oid? at 2004-12-06 08:29:55 from Sibtay Abbas

Browse pgsql-hackers by date

  From Date Subject
Next Message Sibtay Abbas 2004-12-06 11:06:07 main entry point for queries?
Previous Message Sibtay Abbas 2004-12-06 08:29:55 Oid?