diff options
author | Nathan Bossart <nathan@postgresql.org> | 2024-03-11 15:42:27 -0500 |
---|---|---|
committer | Nathan Bossart <nathan@postgresql.org> | 2024-03-11 15:42:27 -0500 |
commit | 24c928ad9ad801048684569d2b67463c3ec8fdb0 (patch) | |
tree | 8b6d9eac6c89455f1406f64a72c654c882ff48da /doc/src | |
parent | 3d8652cd32846e4f9eaff9580858d281136bd0fd (diff) | |
download | postgresql-24c928ad9ad801048684569d2b67463c3ec8fdb0.tar.gz postgresql-24c928ad9ad801048684569d2b67463c3ec8fdb0.zip |
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
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/reindexdb.sgml | 38 |
1 files changed, 15 insertions, 23 deletions
diff --git a/doc/src/sgml/ref/reindexdb.sgml b/doc/src/sgml/ref/reindexdb.sgml index 8d9ced212f3..a877439dc5b 100644 --- a/doc/src/sgml/ref/reindexdb.sgml +++ b/doc/src/sgml/ref/reindexdb.sgml @@ -55,30 +55,22 @@ PostgreSQL documentation </arg> </arg> - <arg choice="opt"><replaceable>dbname</replaceable></arg> - </cmdsynopsis> - - <cmdsynopsis> - <command>reindexdb</command> - <arg rep="repeat"><replaceable>connection-option</replaceable></arg> - <arg rep="repeat"><replaceable>option</replaceable></arg> - - <group choice="plain"> - <arg choice="plain"><option>-a</option></arg> - <arg choice="plain"><option>--all</option></arg> - </group> - </cmdsynopsis> - - <cmdsynopsis> - <command>reindexdb</command> - <arg rep="repeat"><replaceable>connection-option</replaceable></arg> - <arg rep="repeat"><replaceable>option</replaceable></arg> + <arg choice="plain"> + <arg choice="opt"> + <group choice="plain"> + <arg choice="plain"><option>-s</option></arg> + <arg choice="plain"><option>--system</option></arg> + </group> + </arg> + </arg> - <group choice="plain"> - <arg choice="plain"><option>-s</option></arg> - <arg choice="plain"><option>--system</option></arg> - </group> - <arg choice="opt"><replaceable>dbname</replaceable></arg> + <arg choice="opt"> + <group choice="plain"> + <arg choice="plain"><replaceable>dbname</replaceable></arg> + <arg choice="plain"><option>-a</option></arg> + <arg choice="plain"><option>--all</option></arg> + </group> + </arg> </cmdsynopsis> </refsynopsisdiv> |