Add --no-index-cleanup and --no-truncate to vacuumdb.
Michael Paquier <michael@paquier.xyz>
Add --no-index-cleanup and --no-truncate to vacuumdb. Both INDEX_CLEANUP and TRUNCATE have been available since v12, and are enabled by default except if respectively vacuum_index_cleanup and vacuum_truncate are disabled for a given relation. This change adds support for disabling these options from vacuumdb. Author: Nathan Bossart Reviewed-by: Michael Paquier, Masahiko Sawada Discussion: https://postgr.es/m/6F7F17EF-B1F2-4681-8D03-BA96365717C0@amazon.com
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/vacuumdb.sgml | modified | +30 −0 |
| src/bin/scripts/t/100_vacuumdb.pl | modified | +15 −1 |
| src/bin/scripts/vacuumdb.c | modified | +57 −1 |
Documentation touched
Discussion
- Add support for INDEX_CLEANUP and TRUNCATE to vacuumdb 8 messages · 2020-06-11 → 2020-06-22