Re: How to get the Oid of the Primary key relation ?? - Mailing list pgsql-hackers

From John Hansen
Subject Re: How to get the Oid of the Primary key relation ??
Date
Msg-id 1085702582.2219.1.camel@localhost
Whole thread Raw
In response to How to get the Oid of the Primary key relation ??  ("Ramanujam H S Iyengar" <hals_ramu@hotmail.com>)
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Darcy Buskermolen
Date:
Subject: Re: tablespaces and DB administration
Next
From: Sailesh Krishnamurthy
Date:
Subject: On query rewrite