Commit 1d81c093 authored by Peter Eisentraut's avatar Peter Eisentraut

doc: Clarify psql --list documentation a bit more

parent 794eb3a8
...@@ -283,11 +283,17 @@ EOF ...@@ -283,11 +283,17 @@ EOF
<listitem> <listitem>
<para> <para>
List all available databases, then exit. Other non-connection List all available databases, then exit. Other non-connection
options are ignored. If an explicit database name is not options are ignored. This is similar to the meta-command
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>. <command>\list</command>.
</para> </para>
<para>
When this option is used, <application>psql</application> will connect
to the database <literal>postgres</literal>, unless a different database
is named on the command line (option <option>-d</option> or non-option
argument, possibly via a service entry, but not via an environment
variable).
</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment