vacuumdb: Allow specifying objects to process in all databases.
authorNathan Bossart <nathan@postgresql.org>
Mon, 11 Mar 2024 15:33:36 +0000 (10:33 -0500)
committerNathan Bossart <nathan@postgresql.org>
Mon, 11 Mar 2024 15:33:36 +0000 (10:33 -0500)
commit648928c79bed975a89fa2e4ef8bc0bade8e0e0d8
treebb97a3bb3ce0ffbb336aac65c793b4e5b86a4caa
parent674e49c73c1c442d05a46388fcc1431fbd59ca44
vacuumdb: Allow specifying objects to process in all databases.

Presently, vacuumdb's --table, --schema, and --exclude-schema
options cannot be used together with --all, i.e., you cannot
specify tables or schemas to process in all databases.  This commit
removes this unnecessary restriction, thus enabling potentially
useful commands like "vacuumdb --all --schema pg_catalog".

Reviewed-by: Kyotaro Horiguchi, Dean Rasheed
Discussion: https://postgr.es/m/20230628232402.GA1954626%40nathanxps13
doc/src/sgml/ref/vacuumdb.sgml
src/bin/scripts/t/100_vacuumdb.pl
src/bin/scripts/vacuumdb.c