| From: | John Hansen <john(at)geeknet(dot)com(dot)au> |
|---|---|
| To: | Ramanujam H S Iyengar <hals_ramu(at)hotmail(dot)com> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: How to get the Oid of the Primary key relation ?? |
| Date: | 2004-05-28 00:03:02 |
| Message-ID: | 1085702582.2219.1.camel@localhost |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 | Content-Type | Size |
|---|---|---|
| last_insert_id.sql | text/x-sql | 1.4 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sailesh Krishnamurthy | 2004-05-28 00:14:48 | On query rewrite |
| Previous Message | Darcy Buskermolen | 2004-05-27 23:50:11 | Re: tablespaces and DB administration |