Re: Quick question - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: Quick question
Date
Msg-id 3F7E9456.9060501@familyhealth.com.au
Whole thread Raw
In response to Re: Quick question  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Thanks - that's what I ended up doing.  Hooray for CLUSTER indexes and 
constraints in phpPgAdmin CVS now!

Chris

Tom Lane wrote:

> Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> 
>>If someone could help me with this, it would be cool.  How do I query 
>>the catalogs to find the underlying index for a constraint?  (Assuming 
>>the constraint is primary or unique)
> 
> 
> A first approximation is that the constraint and the index have the same
> name, but I suppose someone could break that association by renaming the
> index.  Look in pg_depend for an internal dependency entry from the
> index to the constraint if you want to be sure.
> 
>             regards, tom lane



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Index/Function organized table layout (from Re:
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: Weird locking situation