]> granicus.if.org Git - postgresql/commit
Show definition of index columns in \d on index
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 6 Jul 2009 17:01:42 +0000 (17:01 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 6 Jul 2009 17:01:42 +0000 (17:01 +0000)
commitbf6570abef3df08c7cd4d318d61217b2f95ccbb2
tree8f0e4ffe6dc4e458f9fe574dc43ab141d21afb52
parent869312e65e380d813c5eb43128074515949cecdf
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>
src/bin/psql/describe.c