vacuumdb: Allow specifying objects to process in all databases.
Nathan Bossart <nathan@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/vacuumdb.sgml | modified | +35 −25 |
| src/bin/scripts/t/100_vacuumdb.pl | modified | +12 −12 |
| src/bin/scripts/vacuumdb.c | modified | +5 −14 |
Documentation touched
Discussion
- vacuumdb/clusterdb/reindexdb: allow specifying objects to process in all databases 12 messages · 2023-06-28 → 2024-03-11