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

Commit6dbae68

Browse files
committed
doc: Clarify psql --list documentation a bit more
1 parentdcc1e61 commit6dbae68

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
@@ -281,11 +281,17 @@ EOF
281281
<listitem>
282282
<para>
283283
List all available databases, then exit. Other non-connection
284-
options are ignored. If an explicit database name is not
285-
found the <literal>postgres</literal> database, not the user's,
286-
will be targeted for connection. This is similar to the meta-command
284+
options are ignored. This is similar to the meta-command
287285
<command>\list</command>.
288286
</para>
287+
288+
<para>
289+
When this option is used, <application>psql</application> will connect
290+
to the database <literal>postgres</literal>, unless a different database
291+
is named on the command line (option <option>-d</option> or non-option
292+
argument, possibly via a service entry, but not via an environment
293+
variable).
294+
</para>
289295
</listitem>
290296
</varlistentry>
291297

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp