aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-04-09 14:08:41 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-04-09 14:08:41 -0400
commit7c76906b7e24d9ea94a2b0e33396ebcac600437d (patch)
treef7f47e8e007baa63549aaded224c6d766834619b /doc/src
parentfe1438da8aa8a45f2cee816eb54841f97d3b2f22 (diff)
downloadpostgresql-7c76906b7e24d9ea94a2b0e33396ebcac600437d.tar.gz
postgresql-7c76906b7e24d9ea94a2b0e33396ebcac600437d.zip
Don't show unusable collations in psql's \dO command.
"Unusable" collations are those not matching the current database's encoding. The former behavior inconsistently showed such collations some of the time, depending on the details of the pattern argument.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/psql-ref.sgml8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 24e8ee0a368..ac351d32d42 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -1264,7 +1264,7 @@ testdb=&gt;
<term><literal>\dL[S+] [ <link linkend="APP-PSQL-patterns"><replaceable class="parameter">pattern</replaceable></link> ]</literal></term>
<listitem>
<para>
- Lists all procedural languages. If <replaceable
+ Lists procedural languages. If <replaceable
class="parameter">pattern</replaceable>
is specified, only languages whose names match the pattern are listed.
By default, only user-created languages
@@ -1311,7 +1311,6 @@ testdb=&gt;
<varlistentry>
<term><literal>\dO[S+] [ <link linkend="APP-PSQL-patterns"><replaceable class="parameter">pattern</replaceable></link> ]</literal></term>
-
<listitem>
<para>
Lists collations.
@@ -1320,8 +1319,11 @@ testdb=&gt;
listed. 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
+ to the command name, each collation is listed with its associated
description, if any.
+ Note that only collations usable with the current database's encoding
+ are shown, so the results may vary in different databases of the
+ same installation.
</para>
</listitem>
</varlistentry>