Re: Oid? - Mailing list pgsql-hackers

From Neil Conway
Subject Re: Oid?
Date
Msg-id 1102322466.1494.32.camel@localhost.localdomain
Whole thread Raw
In response to Oid?  (Sibtay Abbas <sibtay_abbas@yahoo.com>)
List 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




pgsql-hackers by date:

Previous
From: Sibtay Abbas
Date:
Subject: Oid?
Next
From: Sibtay Abbas
Date:
Subject: main entry point for queries?