summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2021-10-27 14:20:02 +0000
committerMagnus Hagander2021-10-27 14:29:07 +0000
commitfc92bb94af9fcb0629a7a05c0859210b37aca919 (patch)
tree2066b874647b249a8a5b3928e4aaa6c840d5ca3f
parent31d99bc794a634e3f1b648cf3e71cdbc39eb2fa1 (diff)
Clarify that --system reindexes system catalogs *only*
Make this more clear both in the help message and docs. Reviewed-By: Michael Paquier Backpatch-through: 9.6 Discussion: https://postgr.es/m/CABUevEw6Je0WUFTLhPKOk4+BoBuDrE-fKw3N4ckqgDBMFu4paA@mail.gmail.com
-rw-r--r--doc/src/sgml/ref/reindexdb.sgml2
-rw-r--r--src/bin/scripts/reindexdb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/reindexdb.sgml b/doc/src/sgml/ref/reindexdb.sgml
index 23312cedc97..7726323922b 100644
--- a/doc/src/sgml/ref/reindexdb.sgml
+++ b/doc/src/sgml/ref/reindexdb.sgml
@@ -174,7 +174,7 @@ PostgreSQL documentation
<term><option>--system</option></term>
<listitem>
<para>
- Reindex database's system catalogs.
+ Reindex database's system catalogs only.
</para>
</listitem>
</varlistentry>
diff --git a/src/bin/scripts/reindexdb.c b/src/bin/scripts/reindexdb.c
index fd41bd4472c..bd5fc8c68bf 100644
--- a/src/bin/scripts/reindexdb.c
+++ b/src/bin/scripts/reindexdb.c
@@ -404,7 +404,7 @@ help(const char *progname)
printf(_(" -e, --echo show the commands being sent to the server\n"));
printf(_(" -i, --index=INDEX recreate specific index(es) only\n"));
printf(_(" -q, --quiet don't write any messages\n"));
- printf(_(" -s, --system reindex system catalogs\n"));
+ printf(_(" -s, --system reindex system catalogs only\n"));
printf(_(" -S, --schema=SCHEMA reindex specific schema(s) only\n"));
printf(_(" -t, --table=TABLE reindex specific table(s) only\n"));
printf(_(" -v, --verbose write a lot of output\n"));