Skip to content

Commit c5ba351

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 4399d10 commit c5ba351

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

doc/src/sgml/ref/clusterdb.sgml

+2-3
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

+2-3
Original file line numberDiff line numberDiff line change
@@ -351,9 +351,8 @@ PostgreSQL documentation
351351
<term><option>--maintenance-db=<replaceable class="parameter">dbname</replaceable></option></term>
352352
<listitem>
353353
<para>
354-
Specifies the name of the database to connect to to discover which
355-
databases should be reindexed,
356-
when <option>-a</option>/<option>--all</option> is used.
354+
When the <option>-a</option>/<option>--all</option> is used, connect
355+
to this database to gather the list of databases to reindex.
357356
If not specified, the <literal>postgres</literal> database will be used,
358357
or if that does not exist, <literal>template1</literal> will be used.
359358
This can be a <link linkend="libpq-connstring">connection

doc/src/sgml/ref/vacuumdb.sgml

+2-3
Original file line numberDiff line numberDiff line change
@@ -444,9 +444,8 @@ PostgreSQL documentation
444444
<term><option>--maintenance-db=<replaceable class="parameter">dbname</replaceable></option></term>
445445
<listitem>
446446
<para>
447-
Specifies the name of the database to connect to to discover which
448-
databases should be vacuumed,
449-
when <option>-a</option>/<option>--all</option> is used.
447+
When the <option>-a</option>/<option>--all</option> is used, connect
448+
to this database to gather the list of databases to vacuum.
450449
If not specified, the <literal>postgres</literal> database will be used,
451450
or if that does not exist, <literal>template1</literal> will be used.
452451
This can be a <link linkend="libpq-connstring">connection

0 commit comments

Comments
 (0)