Add --schema and --exclude-schema options to vacuumdb.
Andrew Dunstan <andrew@dunslane.net>
Add --schema and --exclude-schema options to vacuumdb. These two new options can be used to either process all tables in specific schemas or to skip processing all tables in specific schemas. This change also refactors the handling of invalid combinations of command-line options to a new helper function. Author: Gilles Darold Reviewed-by: Justin Pryzby, Nathan Bossart and Michael Paquier. Discussion: https://postgr.es/m/929fbf3c-24b8-d454-811f-1d5898ab3e91%40migops.com
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/vacuumdb.sgml | modified | +66 −0 |
| src/bin/scripts/t/100_vacuumdb.pl | modified | +42 −0 |
| src/bin/scripts/vacuumdb.c | modified | +131 −41 |
Documentation touched
Discussion
- [Proposal] vacuumdb --schema only 33 messages · 2022-03-04 → 2022-07-31