From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add --schema and --exclude-schema options to vacuumdb.
Date: Sun, 31 Jul 2022 20:48:38 +0000
Message-ID: <E1oIFrZ-002876-Bn@gemulon.postgresql.org> (raw)
Add --schema and --exclude-schema options to vacuumdb.
These two new options can be used to either process all tables in
specific schemas or to skip processing all tables in specific
schemas. This change also refactors the handling of invalid
combinations of command-line options to a new helper function.
Author: Gilles Darold
Reviewed-by: Justin Pryzby, Nathan Bossart and Michael Paquier.
Discussion: https://postgr.es/m/929fbf3c-24b8-d454-811f-1d5898ab3e91%40migops.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/7781f4e3e711ace6bcf9b6253a104b180cb78fcf
Modified Files
--------------
doc/src/sgml/ref/vacuumdb.sgml | 66 +++++++++++++++
src/bin/scripts/t/100_vacuumdb.pl | 42 ++++++++++
src/bin/scripts/vacuumdb.c | 172 +++++++++++++++++++++++++++++---------
3 files changed, 239 insertions(+), 41 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andrew@dunslane.net
Subject: Re: pgsql: Add --schema and --exclude-schema options to vacuumdb.
In-Reply-To: <E1oIFrZ-002876-Bn@gemulon.postgresql.org>
References: <E1oIFrZ-002876-Bn@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox