Skip to content

Commit 1d81c09

Browse files
committed
doc: Clarify psql --list documentation a bit more
1 parent 794eb3a commit 1d81c09

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,11 +283,17 @@ EOF
283283
<listitem>
284284
<para>
285285
List all available databases, then exit. Other non-connection
286-
options are ignored. If an explicit database name is not
287-
found the <literal>postgres</literal> database, not the user's,
288-
will be targeted for connection. This is similar to the meta-command
286+
options are ignored. This is similar to the meta-command
289287
<command>\list</command>.
290288
</para>
289+
290+
<para>
291+
When this option is used, <application>psql</application> will connect
292+
to the database <literal>postgres</literal>, unless a different database
293+
is named on the command line (option <option>-d</option> or non-option
294+
argument, possibly via a service entry, but not via an environment
295+
variable).
296+
</para>
291297
</listitem>
292298
</varlistentry>
293299

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy