reindexdb: Allow specifying objects to process in all databases.
commit24c928ad9ad801048684569d2b67463c3ec8fdb0
authorNathan Bossart <nathan@postgresql.org>
Mon, 11 Mar 2024 20:42:27 +0000 (11 15:42 -0500)
committerNathan Bossart <nathan@postgresql.org>
Mon, 11 Mar 2024 20:42:27 +0000 (11 15:42 -0500)
tree8b6d9eac6c89455f1406f64a72c654c882ff48da
parent3d8652cd32846e4f9eaff9580858d281136bd0fd
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
doc/src/sgml/ref/reindexdb.sgml
src/bin/scripts/reindexdb.c
src/bin/scripts/t/090_reindexdb.pl
src/bin/scripts/t/091_reindexdb_all.pl