Обсуждение: pgsql: Change psql's \dd command to do something more useful.

Поиск
Список
Период
Сортировка

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

От
Robert Haas
Дата:
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(-)