Re: List of Index Columns & Expressions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: List of Index Columns & Expressions
Date
Msg-id 6721.1357856188@sss.pgh.pa.us
Whole thread Raw
In response to List of Index Columns & Expressions  ("David E. Wheeler" <david@justatheory.com>)
Responses Re: List of Index Columns & Expressions
List pgsql-hackers
"David E. Wheeler" <david@justatheory.com> writes:
> Is there some way to only get the relevant index expression from indexprs, rather than the whole expression?

pg_get_indexdef() is your friend.  You really, really don't want to
write any client-side code that inspects indexprs directly.  It'll
break.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: PL/perl should fail on configure, not make
Next
From: "David E. Wheeler"
Date:
Subject: Re: List of Index Columns & Expressions