On Mon, Oct 26, 2026, Chao Li <[email protected]> wrote:
> So, I'd leave the v1 implementation as it is and wait for more
> opinions.

Hi Chao,

I tested v3 on master (207b5293b8d) against an unpatched build. make
check and 100_vacuumdb.pl pass. PARALLEL, INDEX_CLEANUP, TRUNCATE and
BUFFER_USAGE_LIMIT are now rejected with ONLY_DATABASE_STATS.

Rejecting options given as off (PARALLEL 0, PROCESS_TOAST false, ...)
seems fine to me for master; it matches how FULL handles
BUFFER_USAGE_LIMIT. vacuumdb only sends a bare
VACUUM (ONLY_DATABASE_STATS), and it still works with all the flags I
tried.

Optionally, a test for VACUUM (ONLY_DATABASE_STATS, PARALLEL 0) would
cover the presence-over-value choice.

Looks good to me.

Thanks,
Ishjaap Singh


Reply via email to