Commit dbca713c authored by Tom Lane's avatar Tom Lane

Minor wordsmithing on descriptions of some \d commands.

parent 5b021741
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.221 2009/04/02 15:15:31 momjian Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.222 2009/04/04 00:39:14 tgl Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -853,6 +853,9 @@ testdb=&gt; ...@@ -853,6 +853,9 @@ testdb=&gt;
more information is displayed: any comments associated with the more information is displayed: any comments associated with the
columns of the table are shown, as is the presence of OIDs in the columns of the table are shown, as is the presence of OIDs in the
table. table.
</para>
<para>
By default, only user-created objects are shown; supply a By default, only user-created objects are shown; supply a
pattern or the <literal>S</literal> modifier to include system pattern or the <literal>S</literal> modifier to include system
objects. objects.
...@@ -942,9 +945,9 @@ testdb=&gt; ...@@ -942,9 +945,9 @@ testdb=&gt;
By default, only user-created objects are shown; supply a By default, only user-created objects are shown; supply a
pattern or the <literal>S</literal> modifier to include system pattern or the <literal>S</literal> modifier to include system
objects. objects.
(<quote>Object</quote> covers aggregates, functions, operators, <quote>Object</quote> covers aggregates, functions, operators,
types, relations (tables, views, indexes, sequences, large types, relations (tables, views, indexes, sequences), large
objects), rules, and triggers.) For example: objects, rules, and triggers. For example:
<programlisting> <programlisting>
=&gt; <userinput>\dd version</userinput> =&gt; <userinput>\dd version</userinput>
Object descriptions Object descriptions
...@@ -1184,7 +1187,7 @@ testdb=&gt; ...@@ -1184,7 +1187,7 @@ testdb=&gt;
<listitem> <listitem>
<para> <para>
Lists all available schemas (namespaces). If <replaceable Lists available schemas (namespaces). If <replaceable
class="parameter">pattern</replaceable> (a regular expression) class="parameter">pattern</replaceable> (a regular expression)
is specified, only schemas whose names match the pattern are listed. is specified, only schemas whose names match the pattern are listed.
Non-local temporary schemas are suppressed. If <literal>+</literal> Non-local temporary schemas are suppressed. If <literal>+</literal>
...@@ -1214,7 +1217,7 @@ testdb=&gt; ...@@ -1214,7 +1217,7 @@ testdb=&gt;
<term><literal>\dp [ <replaceable class="parameter">pattern</replaceable> ]</literal></term> <term><literal>\dp [ <replaceable class="parameter">pattern</replaceable> ]</literal></term>
<listitem> <listitem>
<para> <para>
Produces a list of all available tables, views and sequences with their Lists available tables, views and sequences with their
associated access privileges. associated access privileges.
If <replaceable class="parameter">pattern</replaceable> is If <replaceable class="parameter">pattern</replaceable> is
specified, only tables, views and sequences whose names match the pattern are listed. specified, only tables, views and sequences whose names match the pattern are listed.
...@@ -1233,10 +1236,12 @@ testdb=&gt; ...@@ -1233,10 +1236,12 @@ testdb=&gt;
<term><literal>\dT[S+] [ <replaceable class="parameter">pattern</replaceable> ]</literal></term> <term><literal>\dT[S+] [ <replaceable class="parameter">pattern</replaceable> ]</literal></term>
<listitem> <listitem>
<para> <para>
Lists all data types or only those that match <replaceable Lists available data types.
class="parameter">pattern</replaceable>. The command form If <replaceable class="parameter">pattern</replaceable> is
<literal>\dT+</literal> shows extra information, namely the type's internal name, size, and specified, only types whose names match the pattern are listed.
allowed values for <type>enum</> types. If <literal>+</literal> is appended to the command name, each type is
listed with its internal name and size, as well as its allowed values
if it is an <type>enum</> type.
By default, only user-created objects are shown; supply a By default, only user-created objects are shown; supply a
pattern or the <literal>S</literal> modifier to include system pattern or the <literal>S</literal> modifier to include system
objects. objects.
...@@ -1249,8 +1254,9 @@ testdb=&gt; ...@@ -1249,8 +1254,9 @@ testdb=&gt;
<term><literal>\du [ <replaceable class="parameter">pattern</replaceable> ]</literal></term> <term><literal>\du [ <replaceable class="parameter">pattern</replaceable> ]</literal></term>
<listitem> <listitem>
<para> <para>
Lists all database roles, or only those that match <replaceable Lists all database roles. If <replaceable
class="parameter">pattern</replaceable>. class="parameter">pattern</replaceable> is specified, only
those roles whose names match the pattern are listed.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment