Skip to content

Commit f04b114

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 21a9b2b commit f04b114

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
@@ -248,9 +248,8 @@ PostgreSQL documentation
248248
<term><option>--maintenance-db=<replaceable class="parameter">dbname</replaceable></option></term>
249249
<listitem>
250250
<para>
251-
Specifies the name of the database to connect to to discover which
252-
databases should be clustered,
253-
when <option>-a</option>/<option>--all</option> is used.
251+
When the <option>-a</option>/<option>--all</option> is used, connect
252+
to this database to gather the list of databases to cluster.
254253
If not specified, the <literal>postgres</literal> database will be used,
255254
or if that does not exist, <literal>template1</literal> will be used.
256255
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
@@ -352,9 +352,8 @@ PostgreSQL documentation
352352
<term><option>--maintenance-db=<replaceable class="parameter">dbname</replaceable></option></term>
353353
<listitem>
354354
<para>
355-
Specifies the name of the database to connect to to discover which
356-
databases should be reindexed,
357-
when <option>-a</option>/<option>--all</option> is used.
355+
When the <option>-a</option>/<option>--all</option> is used, connect
356+
to this database to gather the list of databases to reindex.
358357
If not specified, the <literal>postgres</literal> database will be used,
359358
or if that does not exist, <literal>template1</literal> will be used.
360359
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
@@ -544,9 +544,8 @@ PostgreSQL documentation
544544
<term><option>--maintenance-db=<replaceable class="parameter">dbname</replaceable></option></term>
545545
<listitem>
546546
<para>
547-
Specifies the name of the database to connect to to discover which
548-
databases should be vacuumed,
549-
when <option>-a</option>/<option>--all</option> is used.
547+
When the <option>-a</option>/<option>--all</option> is used, connect
548+
to this database to gather the list of databases to vacuum.
550549
If not specified, the <literal>postgres</literal> database will be used,
551550
or if that does not exist, <literal>template1</literal> will be used.
552551
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