Add --disable-page-skipping and --skip-locked to vacuumdb

Enterprise / PostgreSQL - Michael Paquier [paquier.xyz] - 8 January 2019 01:52 EST

DISABLE_PAGE_SKIPPING is available since v9.6, and SKIP_LOCKED since
v12. They lacked equivalents for vacuumdb, so this closes the gap.

Author: Nathan Bossart

354e95d1f2 Add --disable-page-skipping and --skip-locked to vacuumdb
doc/src/sgml/ref/vacuumdb.sgml | 32 +++++++++++++++
src/bin/scripts/t/100_vacuumdb.pl | 17 +++++++-
src/bin/scripts/vacuumdb.c | 84 ++++++++++++++++++++++++++++++++++++---
3 files changed, 126 insertions(+), 7 deletions(-)

Upstream: git.postgresql.org


  • Share