Skip to content

Commit 9a5da12

Browse files
committed
Doc: reword text explaining the --maintenance-db option
The previous text was a little clumsy. Here we improve that. Author: David Rowley <dgrowleyml@gmail.com> Reported-by: Noboru Saito <noborusai@gmail.com> Reviewed-by: David G. Johnston <david.g.johnston@gmail.com> Discussion: https://postgr.es/m/CAAM3qnJtv5YbjpwDfVOYN2gZ9zGSLFM1UGJgptSXmwfifOZJFQ@mail.gmail.com Backpatch-through: 13
1 parent 91168a9 commit 9a5da12

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

doc/src/sgml/ref/clusterdb.sgml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,8 @@ PostgreSQL documentation
249249
<term><option>--maintenance-db=<replaceable class="parameter">dbname</replaceable></option></term>
250250
<listitem>
251251
<para>
252-
Specifies the name of the database to connect to to discover which
253-
databases should be clustered,
254-
when <option>-a</option>/<option>--all</option> is used.
252+
When the <option>-a</option>/<option>--all</option> is used, connect
253+
to this database to gather the list of databases to cluster.
255254
If not specified, the <literal>postgres</literal> database will be used,
256255
or if that does not exist, <literal>template1</literal> will be used.
257256
This can be a <link linkend="libpq-connstring">connection

doc/src/sgml/ref/reindexdb.sgml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,9 +361,8 @@ PostgreSQL documentation
361361
<term><option>--maintenance-db=<replaceable class="parameter">dbname</replaceable></option></term>
362362
<listitem>
363363
<para>
364-
Specifies the name of the database to connect to to discover which
365-
databases should be reindexed,
366-
when <option>-a</option>/<option>--all</option> is used.
364+
When the <option>-a</option>/<option>--all</option> is used, connect
365+
to this database to gather the list of databases to reindex.
367366
If not specified, the <literal>postgres</literal> database will be used,
368367
or if that does not exist, <literal>template1</literal> will be used.
369368
This can be a <link linkend="libpq-connstring">connection

doc/src/sgml/ref/vacuumdb.sgml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -508,9 +508,8 @@ PostgreSQL documentation
508508
<term><option>--maintenance-db=<replaceable class="parameter">dbname</replaceable></option></term>
509509
<listitem>
510510
<para>
511-
Specifies the name of the database to connect to to discover which
512-
databases should be vacuumed,
513-
when <option>-a</option>/<option>--all</option> is used.
511+
When the <option>-a</option>/<option>--all</option> is used, connect
512+
to this database to gather the list of databases to vacuum.
514513
If not specified, the <literal>postgres</literal> database will be used,
515514
or if that does not exist, <literal>template1</literal> will be used.
516515
This can be a <link linkend="libpq-connstring">connection

0 commit comments

Comments
 (0)