pgsql: Show definition of index columns in \d on index This adds a

Started by Peter Eisentrautabout 17 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

Log Message:
-----------
Show definition of index columns in \d on index

This adds a column called "Definition" to the output of psql \d on an
index, which shows the full expression behind the index column. For indexes
on plain columns, this is redundant, but for expression indexes, this
reveals the real expression.

Author: Khee Chin <kheechin@gmail.com>

Modified Files:
--------------
pgsql/src/bin/psql:
describe.c (r1.219 -> r1.220)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/describe.c?r1=1.219&amp;r2=1.220)