reindexdb: Allow specifying objects to process in all databases.
Nathan Bossart <nathan@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/reindexdb.sgml | modified | +15 −23 |
| src/bin/scripts/reindexdb.c | modified | +61 −53 |
| src/bin/scripts/t/090_reindexdb.pl | modified | +14 −0 |
| src/bin/scripts/t/091_reindexdb_all.pl | modified | +20 −0 |
Documentation touched
Discussion
- vacuumdb/clusterdb/reindexdb: allow specifying objects to process in all databases 12 messages · 2023-06-28 → 2024-03-11