Re: vacuumdb: add --dry-run

Álvaro Herrera <alvherre@kurilemu.de>

From: Álvaro Herrera <alvherre@kurilemu.de>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: Chao Li <li.evan.chao@gmail.com>, Corey Huinker <corey.huinker@gmail.com>, pgsql-hackers@postgresql.org
Date: 2025-12-08T19:45:07Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Add ParallelSlotSetIdle().

  2. vacuumdb: Add --dry-run.

  3. vacuumdb: Move some variables to the vacuumingOptions struct.

  4. Log a note at program start when running in dry-run mode

On 2025-Dec-08, Nathan Bossart wrote:

> On Mon, Dec 08, 2025 at 12:27:26PM -0600, Nathan Bossart wrote:
> > On Mon, Dec 08, 2025 at 07:23:16PM +0100, Álvaro Herrera wrote:
> >> I haven't read this thread, but chanced to come across this and wanted
> >> to note recent commit c05dee191125.  I'm not opposed to changing what
> >> went in there, but let's make them all the same.
> > 
> > Ah, that must've been where I stole from originally.  Will switch it back.
> 
> As promised...

This looks reasonable to me in a quick read.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/