pgsql: Change psql's \dd command to do something more useful.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Change psql's \dd command to do something more useful.
Date: 2011-08-11 15:16:46
Message-ID: E1QrX02-0006G5-VP@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Change psql's \dd command to do something more useful.

Instead of displaying comments on an arbitrary subset of the object
types which support them, make \dd display comments on exactly those
object types which don't have their own backlash commands. We now
regard the display of comments as properly the job of the relevant
backslash command (though many of them do so only in verbose mode)
rather than something that \dd should be responsible for. However,
a handful of object types have no backlash command, so make \dd
give information about those.

Josh Kupershmidt

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/59414cdedbc2ed418d66eddc0fcaf9dc40fbc27f

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml | 27 +++----
src/bin/psql/describe.c | 166 ++++++++++++++++-----------------------
src/bin/psql/help.c | 2 +-
3 files changed, 81 insertions(+), 114 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-08-11 15:29:40 pgsql: Unbreak legacy syntax "COMMENT ON RULE x IS y", with no relation
Previous Message Tom Lane 2011-08-10 22:51:04 pgsql: Remove wal_sender_delay GUC, because it's no longer useful.