Обсуждение: pgsql: clusterdb: Allow specifying tables to process in all databases.

Поиск
Список
Период
Сортировка

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

От
Nathan Bossart
Дата:
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(-)