Skip to content

Commit 442c992

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 41ffd9d commit 442c992

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
@@ -504,9 +504,8 @@ PostgreSQL documentation
504504
<term><option>--maintenance-db=<replaceable class="parameter">dbname</replaceable></option></term>
505505
<listitem>
506506
<para>
507-
Specifies the name of the database to connect to to discover which
508-
databases should be vacuumed,
509-
when <option>-a</option>/<option>--all</option> is used.
507+
When the <option>-a</option>/<option>--all</option> is used, connect
508+
to this database to gather the list of databases to vacuum.
510509
If not specified, the <literal>postgres</literal> database will be used,
511510
or if that does not exist, <literal>template1</literal> will be used.
512511
This can be a <link linkend="libpq-connstring">connection

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy