aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2018-01-23 18:22:56 -0500
committerBruce Momjian <bruce@momjian.us>2018-01-23 18:22:56 -0500
commit56c00634b4e4df800cb7dd809edb083a4ca997f8 (patch)
treef0cb1c8c6b826e49ceac095e791228cfb156710a
parentc5e59bb602e5b0bf15a8eb001eac8b31892ea037 (diff)
downloadpostgresql-56c00634b4e4df800cb7dd809edb083a4ca997f8.tar.gz
postgresql-56c00634b4e4df800cb7dd809edb083a4ca997f8.zip
doc: mention psql -l uses the 'postgres' database by default
Reported-by: Mark Wood Bug: 14912 Discussion: https://postgr.es/m/20171116171735.1474.30450@wrigleys.postgresql.org Author: David G. Johnston Backpatch-through: 10
-rw-r--r--doc/src/sgml/ref/psql-ref.sgml4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 525464968fd..bdb109242e9 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -281,7 +281,9 @@ EOF
<listitem>
<para>
List all available databases, then exit. Other non-connection
- options are ignored. This is similar to the meta-command
+ options are ignored. If an explicit database name is not
+ found the <literal>postgres</literal> database, not the user's,
+ will be targeted for connection. This is similar to the meta-command
<command>\list</command>.
</para>
</listitem>