Teach psql to display the comments on conversions and domains.
Robert Haas <rhaas@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| 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 |