Re: vacuumdb: add --dry-run - Mailing list pgsql-hackers

From Corey Huinker
Subject Re: vacuumdb: add --dry-run
Date
Msg-id CADkLM=ejhuvk9TOmYe09kaWdUoCzPci1aYa9+ADOwzP22e1XeA@mail.gmail.com
Whole thread Raw
In response to Re: vacuumdb: add --dry-run  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: vacuumdb: add --dry-run
List pgsql-hackers
On Thu, Nov 20, 2025 at 4:46 PM Nathan Bossart <nathandbossart@gmail.com> wrote:
On Wed, Nov 19, 2025 at 07:54:06PM -0500, Corey Huinker wrote:
> Here's a shopping list of incremental changes. I'm happy with whatever
> makes the most sense to you.

Here is a v4 patch set.  I've made a variety of small changes.  I think
there's some room to bike-shed on the messages we send to the user to
assure them we're not actually doing anything, but this is roughly what I
imagined.

Everything here looks good to me. I have nothing to add.

I have no objections to, but I am curious about the factors that went into making dry_run an independent boolean rather than part of vacopts.

pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: [PATCH] Add memory usage reporting to VACUUM VERBOSE
Next
From: Melanie Plageman
Date:
Subject: Re: Checkpointer write combining