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

Started by Peter Eisentrautover 17 years ago1 messagescommitters
Jump to latest
#1Peter Eisentraut
petere@postgresql.org

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&r2=1.220)