aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2011-08-08 12:26:13 -0400
committerRobert Haas <rhaas@postgresql.org>2011-08-08 12:26:13 -0400
commitc9ac00e6ecfaad4d6a3e1ee478b912c7227ae62a (patch)
treef5978c874a95d67eb24c9280cb8a8132c54ffd37 /doc/src
parentb69f2e36402aaa222ed03c1769b3de6d5be5f302 (diff)
downloadpostgresql-c9ac00e6ecfaad4d6a3e1ee478b912c7227ae62a.tar.gz
postgresql-c9ac00e6ecfaad4d6a3e1ee478b912c7227ae62a.zip
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.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/psql-ref.sgml10
1 files changed, 8 insertions, 2 deletions
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=&gt;
<varlistentry>
- <term><literal>\dc[S] [ <link linkend="APP-PSQL-patterns"><replaceable class="parameter">pattern</replaceable></link> ]</literal></term>
+ <term><literal>\dc[S+] [ <link linkend="APP-PSQL-patterns"><replaceable class="parameter">pattern</replaceable></link> ]</literal></term>
<listitem>
<para>
Lists conversions between character-set encodings.
@@ -964,6 +964,8 @@ testdb=&gt;
By default, only user-created objects are shown; supply a
pattern or the <literal>S</literal> modifier to include system
objects.
+ If <literal>+</literal> is appended to the command name, each object
+ is listed with its associated description.
</para>
</listitem>
</varlistentry>
@@ -977,6 +979,8 @@ testdb=&gt;
If <replaceable class="parameter">pattern</replaceable>
is specified, only casts whose source or target types match the
pattern are listed.
+ If <literal>+</literal> is appended to the command name, each object
+ is listed with its associated description.
</para>
</listitem>
</varlistentry>
@@ -1038,7 +1042,7 @@ testdb=&gt;
<varlistentry>
- <term><literal>\dD[S] [ <link linkend="APP-PSQL-patterns"><replaceable class="parameter">pattern</replaceable></link> ]</literal></term>
+ <term><literal>\dD[S+] [ <link linkend="APP-PSQL-patterns"><replaceable class="parameter">pattern</replaceable></link> ]</literal></term>
<listitem>
<para>
Lists domains. If <replaceable
@@ -1047,6 +1051,8 @@ testdb=&gt;
By default, only user-created objects are shown; supply a
pattern or the <literal>S</literal> modifier to include system
objects.
+ If <literal>+</literal> is appended to the command name, each object
+ is listed with its associated description.
</para>
</listitem>
</varlistentry>