clusterdb: Allow specifying tables to process in all databases.
authorNathan Bossart <nathan@postgresql.org>
Mon, 11 Mar 2024 18:11:20 +0000 (13:11 -0500)
committerNathan Bossart <nathan@postgresql.org>
Mon, 11 Mar 2024 18:11:20 +0000 (13:11 -0500)
commit1b49d56d358a9c2e310d66c0ac87216d9b932b78
tree1a4e29c748c1f861d235871aba051f6d16977349
parent5fb4cea1b4a28267eeb564f1e57cbdfd39f1eea6
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
doc/src/sgml/ref/clusterdb.sgml
src/bin/scripts/clusterdb.c
src/bin/scripts/t/011_clusterdb_all.pl