From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: clusterdb: Allow specifying tables to process in all databases.
Date: Mon, 11 Mar 2024 18:13:37 +0000
Message-ID: <E1rjk9Z-003Hrc-CN@gemulon.postgresql.org> (raw)
clusterdb: Allow specifying tables to process in all databases.
Presently, clusterdb's --table option cannot be used together with
--all, i.e., you cannot specify tables to process in all databases.
This commit removes this unnecessary restriction. In passing,
change the synopsis in the documentation to use "[option...]"
instead of "[--verbose | -v]". There are other general-purpose
options (e.g., --quiet and --echo), but the synopsis currently only
lists --verbose.
Reviewed-by: Kyotaro Horiguchi, Dean Rasheed
Discussion: https://postgr.es/m/20230628232402.GA1954626%40nathanxps13
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1b49d56d358a9c2e310d66c0ac87216d9b932b78
Modified Files
--------------
doc/src/sgml/ref/clusterdb.sgml | 17 ++++++++---------
src/bin/scripts/clusterdb.c | 28 +++++++++++++++++++---------
src/bin/scripts/t/011_clusterdb_all.pl | 11 +++++++++++
3 files changed, 38 insertions(+), 18 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: clusterdb: Allow specifying tables to process in all databases.
In-Reply-To: <E1rjk9Z-003Hrc-CN@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox