diff options
author | Bruce Momjian <bruce@momjian.us> | 2018-01-23 18:22:56 -0500 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2018-01-23 18:22:56 -0500 |
commit | e0a0deca389849383ff6337a488300eb22f31cef (patch) | |
tree | d38dfcfaabc8c237665266d7072e8a3d6c2c4e2a | |
parent | bb94ce4d26c3b011c01bf44ab200334fea52b600 (diff) | |
download | postgresql-e0a0deca389849383ff6337a488300eb22f31cef.tar.gz postgresql-e0a0deca389849383ff6337a488300eb22f31cef.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.sgml | 4 |
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 fce7e3a5854..7ea7edc3d10 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -283,7 +283,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> |