1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Teach psql to display the comments on SQL/MED objects in verbose mode.

The relevant backslash commands already exist, so we're just adding an
additional column.  With this commit, all objects that have psql backslash
commands and accept comments should now display those comments at least
in verbose mode.

Josh Kupershmidt, with doc additions by me.
This commit is contained in:
Robert Haas
2011-08-08 16:29:57 -04:00
parent c9ac00e6ec
commit d82a9d2a60
3 changed files with 202 additions and 174 deletions

View File

@ -1098,7 +1098,7 @@ testdb=>
specified, only those servers whose name matches the pattern
are listed. If the form <literal>\des+</literal> is used, a
full description of each server is shown, including the
server's ACL, type, version, and options.
server's ACL, type, version, options, and description.
</para>
</listitem>
</varlistentry>
@ -1112,7 +1112,8 @@ testdb=&gt;
If <replaceable class="parameter">pattern</replaceable> is
specified, only entries whose table name or schema name matches
the pattern are listed. If the form <literal>\det+</literal>
is used, generic options are also displayed.
is used, generic options and the foreign table description
are also displayed.
</para>
</listitem>
</varlistentry>
@ -1150,8 +1151,8 @@ testdb=&gt;
If <replaceable class="parameter">pattern</replaceable> is
specified, only those foreign-data wrappers whose name matches
the pattern are listed. If the form <literal>\dew+</literal>
is used, the ACL and options of the foreign-data wrapper are
also shown.
is used, the ACL, options, and description of the foreign-data
wrapper are also shown.
</para>
</listitem>
</varlistentry>