"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