Content-Length: 276601 | pFad | http://github.com/postgrespro/postgres/commit/1d81c093db81f63727436c736d9d27b7bedb4b66

44 doc: Clarify psql --list documentation a bit more · postgrespro/postgres@1d81c09 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/1d81c093db81f63727436c736d9d27b7bedb4b66

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy