From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: reindexdb: Allow specifying objects to process in all databases.
Date: Mon, 11 Mar 2024 20:43:12 +0000
Message-ID: <E1rjmUK-003Izf-Di@gemulon.postgresql.org> (raw)
reindexdb: Allow specifying objects to process in all databases.
Presently, reindexdb's --table, --schema, --index, and --system
options cannot be used together with --all, i.e., you cannot
specify objects to process in all databases. This commit removes
this unnecessary restriction. Furthermore, it removes the
restriction that --system cannot be used with --table, --schema,
and --index. There is no such restriction for the latter options,
and there is no technical reason to disallow these combinations.
Reviewed-by: Kyotaro Horiguchi, Dean Rasheed
Discussion: https://postgr.es/m/20230628232402.GA1954626%40nathanxps13
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/24c928ad9ad801048684569d2b67463c3ec8fdb0
Modified Files
--------------
doc/src/sgml/ref/reindexdb.sgml | 38 +++++------
src/bin/scripts/reindexdb.c | 114 ++++++++++++++++++---------------
src/bin/scripts/t/090_reindexdb.pl | 14 ++++
src/bin/scripts/t/091_reindexdb_all.pl | 20 ++++++
4 files changed, 110 insertions(+), 76 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 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: reindexdb: Allow specifying objects to process in all databases.
In-Reply-To: <E1rjmUK-003Izf-Di@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