pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: vacuumdb: Allow specifying objects to process in all databases.
Date: Mon, 11 Mar 2024 15:34:07 +0000
Message-ID: <E1rjhfD-003GHn-HD@gemulon.postgresql.org> (raw)

vacuumdb: Allow specifying objects to process in all databases.

Presently, vacuumdb's --table, --schema, and --exclude-schema
options cannot be used together with --all, i.e., you cannot
specify tables or schemas to process in all databases.  This commit
removes this unnecessary restriction, thus enabling potentially
useful commands like "vacuumdb --all --schema pg_catalog".

Reviewed-by: Kyotaro Horiguchi, Dean Rasheed
Discussion: https://postgr.es/m/20230628232402.GA1954626%40nathanxps13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/648928c79bed975a89fa2e4ef8bc0bade8e0e0d8

Modified Files
--------------
doc/src/sgml/ref/vacuumdb.sgml    | 60 +++++++++++++++++++++++----------------
src/bin/scripts/t/100_vacuumdb.pl | 24 ++++++++--------
src/bin/scripts/vacuumdb.c        | 19 ++++---------
3 files changed, 52 insertions(+), 51 deletions(-)



view thread (2+ messages)

Message-ID: <E1rjhfD-003GHn-HD@gemulon.postgresql.org>
Permalink:  ../E1rjhfD-003GHn-HD@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rjhfD-003GHn-HD@gemulon.postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: vacuumdb: Allow specifying objects to process in all databases.
  In-Reply-To: <E1rjhfD-003GHn-HD@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