pgsql: Add --schema and --exclude-schema options to vacuumdb.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add --schema and --exclude-schema options to vacuumdb.
Date: 2022-07-31 20:48:38
Message-ID: E1oIFrZ-002876-Bn@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-07-31 20:59:19 pgsql: Remove test_oat_hooks.c's nodetag_to_string().
Previous Message Andres Freund 2022-07-31 19:42:58 pgsql: ci: switch to freebsd 13.1