From: Peter Eisentraut Date: Sat, 3 Feb 2018 15:19:57 +0000 (-0500) Subject: doc: Clarify psql --list documentation a bit more X-Git-Tag: REL_10_2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6dbae688d8526e4f277c4a7bf85497e03a947e59;p=postgresql doc: Clarify psql --list documentation a bit more --- diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index bdb109242e..f575bb4ffa 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -281,11 +281,17 @@ EOF List all available databases, then exit. Other non-connection - 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 + options are ignored. This is similar to the meta-command \list. + + + When this option is used, psql will connect + to the database postgres, unless a different database + is named on the command line (option or non-option + argument, possibly via a service entry, but not via an environment + variable). +