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

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

From
petere@postgresql.org (Peter Eisentraut)
Date:
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)