Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1d81c09

Browse files
committed
doc: Clarify psql --list documentation a bit more
1 parent794eb3a commit1d81c09

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)

[8]ページ先頭

©2009-2025 Movatter.jp