pgsql: Teach psql to display comments on languages and casts.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Teach psql to display comments on languages and casts.
Date: 2011-08-04 16:22:33
Message-ID: E1Qp0gr-0006BM-Bz@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3b17efdfdd846c9bfad1637686e6f18198ea3df5

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml | 2 +-
src/bin/psql/command.c | 2 +-
src/bin/psql/describe.c | 55 ++++++++++++++++++++++++++++-----------
src/bin/psql/describe.h | 2 +-
src/bin/psql/help.c | 2 +-
5 files changed, 43 insertions(+), 20 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2011-08-04 16:28:11 Re: pgsql: In documentaiton, clarify which commands have reduced WAL volume
Previous Message Bruce Momjian 2011-08-04 16:07:15 pgsql: In documentaiton, clarify which commands have reduced WAL volume