How to get the Oid of the Primary key relation ??

Started by Ramanujam H S Iyengarover 21 years ago2 messages
#1Ramanujam H S Iyengar
hals_ramu@hotmail.com

Can some one help me in the question !!!

Given the Oid of a relation .. how to get the Oid of the Primary key index
on that relation ?

Thanks in adv,

-Ramu

_________________________________________________________________
Post Classifieds on MSN classifieds. http://go.msnserver.com/IN/44045.asp
Buy and Sell on MSN Classifieds.

#2John Hansen
john@geeknet.com.au
In reply to: Ramanujam H S Iyengar (#1)
1 attachment(s)
Re: How to get the Oid of the Primary key relation ??

On Fri, 2004-05-28 at 06:07, Ramanujam H S Iyengar wrote:

Can some one help me in the question !!!

Given the Oid of a relation .. how to get the Oid of the Primary key index
on that relation ?

Attached, a couple of function I wrote that might do what you're after.

Thanks in adv,

-Ramu

_________________________________________________________________
Post Classifieds on MSN classifieds. http://go.msnserver.com/IN/44045.asp
Buy and Sell on MSN Classifieds.

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Regards,

John

Attachments:

last_insert_id.sqltext/x-sql; charset=ISO-8859-1; name=last_insert_id.sqlDownload