summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Rowley2025-04-22 02:56:39 +0000
committerDavid Rowley2025-04-22 02:56:39 +0000
commitf04b11454d5dc35093d42f0e3148203ebb31e0ce (patch)
treefed00654a9374db693a3d816abec11046114ea74 /doc
parent21a9b2b086fab75091c8a848de9fd9aba48a11b8 (diff)
Doc: reword text explaining the --maintenance-db option
The previous text was a little clumsy. Here we improve that. Author: David Rowley <[email protected]> Reported-by: Noboru Saito <[email protected]> Reviewed-by: David G. Johnston <[email protected]> Discussion: https://postgr.es/m/CAAM3qnJtv5YbjpwDfVOYN2gZ9zGSLFM1UGJgptSXmwfifOZJFQ@mail.gmail.com Backpatch-through: 13
Diffstat (limited to 'doc')
-rw-r--r--doc/src/sgml/ref/clusterdb.sgml5
-rw-r--r--doc/src/sgml/ref/reindexdb.sgml5
-rw-r--r--doc/src/sgml/ref/vacuumdb.sgml5
3 files changed, 6 insertions, 9 deletions
diff --git a/doc/src/sgml/ref/clusterdb.sgml b/doc/src/sgml/ref/clusterdb.sgml
index d3145318b36..0d2051bf6f1 100644
--- a/doc/src/sgml/ref/clusterdb.sgml
+++ b/doc/src/sgml/ref/clusterdb.sgml
@@ -248,9 +248,8 @@ PostgreSQL documentation
<term><option>--maintenance-db=<replaceable class="parameter">dbname</replaceable></option></term>
<listitem>
<para>
- Specifies the name of the database to connect to to discover which
- databases should be clustered,
- when <option>-a</option>/<option>--all</option> is used.
+ When the <option>-a</option>/<option>--all</option> is used, connect
+ to this database to gather the list of databases to cluster.
If not specified, the <literal>postgres</literal> database will be used,
or if that does not exist, <literal>template1</literal> will be used.
This can be a <link linkend="libpq-connstring">connection
diff --git a/doc/src/sgml/ref/reindexdb.sgml b/doc/src/sgml/ref/reindexdb.sgml
index 98c3333228f..abcb041179b 100644
--- a/doc/src/sgml/ref/reindexdb.sgml
+++ b/doc/src/sgml/ref/reindexdb.sgml
@@ -352,9 +352,8 @@ PostgreSQL documentation
<term><option>--maintenance-db=<replaceable class="parameter">dbname</replaceable></option></term>
<listitem>
<para>
- Specifies the name of the database to connect to to discover which
- databases should be reindexed,
- when <option>-a</option>/<option>--all</option> is used.
+ When the <option>-a</option>/<option>--all</option> is used, connect
+ to this database to gather the list of databases to reindex.
If not specified, the <literal>postgres</literal> database will be used,
or if that does not exist, <literal>template1</literal> will be used.
This can be a <link linkend="libpq-connstring">connection
diff --git a/doc/src/sgml/ref/vacuumdb.sgml b/doc/src/sgml/ref/vacuumdb.sgml
index 66fccb30a2d..80c04919a4b 100644
--- a/doc/src/sgml/ref/vacuumdb.sgml
+++ b/doc/src/sgml/ref/vacuumdb.sgml
@@ -544,9 +544,8 @@ PostgreSQL documentation
<term><option>--maintenance-db=<replaceable class="parameter">dbname</replaceable></option></term>
<listitem>
<para>
- Specifies the name of the database to connect to to discover which
- databases should be vacuumed,
- when <option>-a</option>/<option>--all</option> is used.
+ When the <option>-a</option>/<option>--all</option> is used, connect
+ to this database to gather the list of databases to vacuum.
If not specified, the <literal>postgres</literal> database will be used,
or if that does not exist, <literal>template1</literal> will be used.
This can be a <link linkend="libpq-connstring">connection