Thread: Oid?

Oid?

From
Sibtay Abbas
Date:
hi everyone 

i see an attribute 'oid_value' with 'Oid' type in
the ListCell union.

can anyone tell me what does it represents?

Thank you

    
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250


Re: Oid?

From
Neil Conway
Date:
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