summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-01-07 20:56:07 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-01-07 20:56:07 +0000
commitb4b62cff9343404edcf144df41765eb899d448bc (patch)
treedea2725fbb982d8d85643cfc2d84119cfd73e82d /doc/src
parent1b59b442cee757f28a3951de698c706035d5e278 (diff)
Apply the proper version of Christopher Kings-Lynne's describe patch
(ie, the one with describe-schema support). Minor code review. Adjust display of casts to use standard type names.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/psql-ref.sgml67
1 files changed, 41 insertions, 26 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 77da336696a..677b4773b43 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.83 2003/01/07 18:46:52 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.84 2003/01/07 20:56:06 tgl Exp $
PostgreSQL documentation
-->
@@ -798,6 +798,30 @@ testdb=>
</listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><literal>\dc</literal> [ <replaceable class="parameter">pattern</replaceable> ]</term>
+ <listitem>
+ <para>
+ Lists all available conversions between character-set encodings.
+ If <replaceable class="parameter">pattern</replaceable>
+ is specified, only conversions whose name matches the pattern are
+ listed.
+ </para>
+ </listitem>
+ </varlistentry>
+
+
+ <varlistentry>
+ <term><literal>\dC</literal></term>
+ <listitem>
+ <para>
+ Lists all available type casts.
+ </para>
+ </listitem>
+ </varlistentry>
+
+
<varlistentry>
<term><literal>\dd</literal> [ <replaceable class="parameter">pattern</replaceable> ]</term>
<listitem>
@@ -848,29 +872,6 @@ testdb=>
<varlistentry>
- <term><literal>\dc</literal> [ <replaceable class="parameter">pattern</replaceable> ]</term>
- <listitem>
- <para>
- Lists all available conversions (between encodings). If <replaceable
- class="parameter">pattern</replaceable>
- is specified, only matching conversions are shown.
- </para>
- </listitem>
- </varlistentry>
-
-
- <varlistentry>
- <term><literal>\dC</literal></term>
- <listitem>
- <para>
- Lists all available type casts. Casts can be explicit, explicit and assignment
- or implicit, and are used to change a variable from one type to another.
- </para>
- </listitem>
- </varlistentry>
-
-
- <varlistentry>
<term><literal>\df [ <replaceable class="parameter">pattern</replaceable> ]</literal></term>
<listitem>
@@ -930,6 +931,19 @@ testdb=>
<varlistentry>
+ <term><literal>\dn</literal> [ <replaceable class="parameter">pattern</replaceable> ]</term>
+
+ <listitem>
+ <para>
+ Lists all available schemas (namespaces). If <replaceable
+ class="parameter">pattern</replaceable> (a regular expression)
+ is specified, only schemas whose name matches the pattern are listed.
+ </para>
+ </listitem>
+ </varlistentry>
+
+
+ <varlistentry>
<term><literal>\do [ <replaceable class="parameter">pattern</replaceable> ]</literal></term>
<listitem>
<para>
@@ -1054,8 +1068,9 @@ Tue Oct 26 21:40:57 CEST 1999
</para>
<note>
<para>
- This command does not see changes made by <command>SET
- CLIENT_ENCODING</>.
+ This command will not notice changes made directly by <command>SET
+ CLIENT_ENCODING</>. If you use <literal>\encoding</literal>,
+ be sure to use it to set as well as examine the encoding.
</para>
</note>
</listitem>