Teach psql to display the comments on conversions and domains.

Robert Haas <rhaas@postgresql.org>

Commit: c9ac00e6ecfaad4d6a3e1ee478b912c7227ae62a
Author: Robert Haas <rhaas@postgresql.org>
Date: 2011-08-08T16:26:13Z
Releases: 9.2.0
Teach psql to display the comments on conversions and domains.

\dc and \dD now accept a "+" option, which will cause the comments to
be displayed.  Along the way, correct a few oversights in the previous
commit in this area, 3b17efdfdd846c9bfad1637686e6f18198ea3df5 - namely,
(1) when \dL+ is used, make description still be the last column, for
consistency with what we've done elsewhere; and (2) document the
difference between \dC and \dC+.

Josh Kupershmidt, with a couple of doc changes by me.

Files

PathChange+/−
doc/src/sgml/ref/psql-ref.sgml modified +8 −2
src/bin/psql/command.c modified +2 −2
src/bin/psql/describe.c modified +49 −19
src/bin/psql/describe.h modified +2 −2
src/bin/psql/help.c modified +2 −2