8000 doc: mention psql -l uses the 'postgres' database by default · Strider-Alex/postgres@56c0063 · GitHub
[go: up one dir, main page]

Skip to content

Commit 56c0063

Browse files
committed
doc: mention psql -l uses the 'postgres' database by default
Reported-by: Mark Wood Bug: 14912 Discussion: https://postgr.es/m/20171116171735.1474.30450@wrigleys.postgresql.org Author: David G. Johnston Backpatch-through: 10
1 parent c5e59bb commit 56c0063

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,9 @@ EOF
281281
<listitem>
282282
<para>
283283
List all available databases, then exit. Other non-connection
284-
options are ignored. This is similar to the meta-command
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
285287
<command>\list</command>.
286288
</para>
287289
</listitem>

0 commit comments

Comments
 (0)
0