pgsql: clusterdb: Allow specifying tables to process in all databases.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: clusterdb: Allow specifying tables to process in all databases.
Date: 2024-03-11 18:13:37
Message-ID: E1rjk9Z-003Hrc-CN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2024-03-11 18:46:00 pgsql: Confine vacuum skip logic to lazy_scan_skip()
Previous Message Bruce Momjian 2024-03-11 17:31:37 pgsql: doc: add missing word "the"