aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2021-10-27 16:20:02 +0200
committerMagnus Hagander <magnus@hagander.net>2021-10-27 16:28:11 +0200
commiteff61383b982be8dc71d942340a839bea88a9eab (patch)
tree5c75dc3b1402629ffcd3e7fa1f784185311d1f28
parent70bfc5ae537c8bfeed4849b7d9f814de89a155fe (diff)
downloadpostgresql-eff61383b982be8dc71d942340a839bea88a9eab.tar.gz
postgresql-eff61383b982be8dc71d942340a839bea88a9eab.zip
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 80a7f84886b..8cb8bf4fa39 100644
--- a/doc/src/sgml/ref/reindexdb.sgml
+++ b/doc/src/sgml/ref/reindexdb.sgml
@@ -208,7 +208,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 a0b0250c499..64fbb40baf1 100644
--- a/src/bin/scripts/reindexdb.c
+++ b/src/bin/scripts/reindexdb.c
@@ -798,7 +798,7 @@ help(const char *progname)
printf(_(" -i, --index=INDEX recreate specific index(es) only\n"));
printf(_(" -j, --jobs=NUM use this many concurrent connections to reindex\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(_(" --tablespace=TABLESPACE tablespace where indexes are rebuilt\n"));