Re: How to extract a value from a record using attnum or attname? - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: How to extract a value from a record using attnum or attname?
Date
Msg-id 4D64E4C7020000250003AEF2@gw.wicourts.gov
Whole thread Raw
In response to Re: How to extract a value from a record using attnum or attname?  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: How to extract a value from a record using attnum or attname?  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> wrote:

> I think it'd be better to use RelationGetIndexList (which gets the
> index list from relcache) and fetch the index tuples from
> syscache; see relationHasPrimaryKey for sample code.

Thanks.  Patch done that way attached.  Will get it into tomorrow's
system testing here.

-Kevin

Attachment

pgsql-hackers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: Synchronous standbys?
Next
From: Jaime Casanova
Date:
Subject: Re: Synchronous standby