vacuumdb: add --dry-run

From: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: nathandbossart(at)gmail(dot)com
Subject: vacuumdb: add --dry-run
Date: 2025-11-10 19:44:41
Message-ID: CADkLM=ckHkX7Of5SrK7g0LokPUwJ=kk8JU1GXGF5pZ1eBVr0=Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

This is a small patch to add a new option to vacuumdb to answer the
question "what commands will actually be run by this combination of
command-line switches against this database?" without actually running the
commands.

Including Nathan because we had previously discussed the utility of just
such a thing.

Attachment Content-Type Size
v1-0001-Add-dry-run-to-vacuumdb.patch text/x-patch 4.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sami Imseih 2025-11-10 19:56:23 Re: [Proposal] Adding callback support for custom statistics kinds
Previous Message Michael Banck 2025-11-10 19:33:06 Re: GNU/Hurd portability patches