vacuumdb: Add --dry-run.
Nathan Bossart <nathan@postgresql.org>
vacuumdb: Add --dry-run. This new option instructs vacuumdb to print, but not execute, the VACUUM and ANALYZE commands that would've been sent to the server. Author: Corey Huinker <corey.huinker@gmail.com> Reviewed-by: Chao Li <li.evan.chao@gmail.com> Reviewed-by: Kirill Reshke <reshkekirill@gmail.com> Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de> Discussion: https://postgr.es/m/CADkLM%3DckHkX7Of5SrK7g0LokPUwJ%3Dkk8JU1GXGF5pZ1eBVr0%3DQ%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/vacuumdb.sgml | modified | +10 −0 |
| src/bin/scripts/t/100_vacuumdb.pl | modified | +12 −0 |
| src/bin/scripts/vacuumdb.c | modified | +9 −0 |
| src/bin/scripts/vacuuming.c | modified | +20 −10 |
| src/bin/scripts/vacuuming.h | modified | +1 −0 |
Discussion
- vacuumdb: add --dry-run 31 messages · 2025-11-10 → 2025-12-09