Re: List of Index Columns & Expressions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
Cc: PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: List of Index Columns & Expressions
Date: 2013-01-10 22:16:28
Message-ID: 6721.1357856188@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"David E. Wheeler" <david(at)justatheory(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2013-01-10 22:27:48 Re: List of Index Columns & Expressions
Previous Message Peter Eisentraut 2013-01-10 22:10:16 Re: PL/perl should fail on configure, not make