Teach psql to display comments on languages and casts.

Robert Haas <rhaas@postgresql.org>

Commit: 3b17efdfdd846c9bfad1637686e6f18198ea3df5
Author: Robert Haas <rhaas@postgresql.org>
Date: 2011-08-04T16:22:26Z
Releases: 9.2.0
Teach psql to display comments on languages and casts.

The output of \dL (list languages) is fairly narrow, so we just always
display the comment.  \dC (list casts) can get fairly wide, so we only
display comments if the new \dC+ option is specified.

Josh Kupershmidt

Files

PathChange+/−
doc/src/sgml/ref/psql-ref.sgml modified +1 −1
src/bin/psql/command.c modified +1 −1
src/bin/psql/describe.c modified +39 −16
src/bin/psql/describe.h modified +1 −1
src/bin/psql/help.c modified +1 −1