From c9ac00e6ecfaad4d6a3e1ee478b912c7227ae62a Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Mon, 8 Aug 2011 12:26:13 -0400 Subject: 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. --- doc/src/sgml/ref/psql-ref.sgml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index e2e2abe4d39..4a38d2afeb1 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -954,7 +954,7 @@ testdb=> - \dc[S] [ pattern ] + \dc[S+] [ pattern ] Lists conversions between character-set encodings. @@ -964,6 +964,8 @@ testdb=> By default, only user-created objects are shown; supply a pattern or the S modifier to include system objects. + If + is appended to the command name, each object + is listed with its associated description. @@ -977,6 +979,8 @@ testdb=> If pattern is specified, only casts whose source or target types match the pattern are listed. + If + is appended to the command name, each object + is listed with its associated description. @@ -1038,7 +1042,7 @@ testdb=> - \dD[S] [ pattern ] + \dD[S+] [ pattern ] Lists domains. If S modifier to include system objects. + If + is appended to the command name, each object + is listed with its associated description. -- cgit v1.2.3