doc: mention psql -l uses the 'postgres' database by default
authorBruce Momjian
Tue, 23 Jan 2018 23:22:56 +0000 (18:22 -0500)
committerBruce Momjian
Tue, 23 Jan 2018 23:22:56 +0000 (18:22 -0500)
Reported-by: Mark Wood
Bug: 14912

Discussion: https://postgr.es/m/20171116171735[email protected]

Author: David G. Johnston

Backpatch-through: 10

doc/src/sgml/ref/psql-ref.sgml

index fce7e3a58542ad312263c4e3ba400210ab504c40..7ea7edc3d10fabfe6716cf8d1f5d8425b8b5526d 100644 (file)
@@ -283,7 +283,9 @@ EOF
       
       
       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 postgres database, not the user's,
+      will be targeted for connection. This is similar to the meta-command
       \list.