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

From Nathan Bossart
Subject Re: vacuumdb: add --dry-run
Date
Msg-id aR-TLculrOb2hbRy@nathan
Whole thread Raw
In response to Re: vacuumdb: add --dry-run  (Corey Huinker <corey.huinker@gmail.com>)
List pgsql-hackers
On Thu, Nov 20, 2025 at 05:09:54PM -0500, Corey Huinker wrote:
> 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.

My thinking was that it's closer to "echo" and "quiet" than anything in
vacuumingOptions.  Most of that stuff seems geared towards controlling the
precise behavior of the commands rather than the behavior of the
application.  TBH I think it'd be fine either way.  We could probably even
move "echo" and "quiet" into vacuumingOptions if we really wanted to.

-- 
nathan



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: another autovacuum scheduling thread
Next
From: Melanie Plageman
Date:
Subject: Re: Eagerly evict bulkwrite strategy ring