diff options
author | Magnus Hagander <magnus@hagander.net> | 2021-10-27 16:20:02 +0200 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2021-10-27 16:28:54 +0200 |
commit | dd111887fbaead778d1077dfbc92b520a5188b51 (patch) | |
tree | 051fb772c32b3ad1f50a65f715bfd0bc493f846f | |
parent | 24b7cf8a5cff0b0e2dba12a3a1f5c7638ace9986 (diff) | |
download | postgresql-dd111887fbaead778d1077dfbc92b520a5188b51.tar.gz postgresql-dd111887fbaead778d1077dfbc92b520a5188b51.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.sgml | 2 | ||||
-rw-r--r-- | src/bin/scripts/reindexdb.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/reindexdb.sgml b/doc/src/sgml/ref/reindexdb.sgml index 6275deb0fd4..dd1c9e52743 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 40003380aef..c543d76b4f8 100644 --- a/src/bin/scripts/reindexdb.c +++ b/src/bin/scripts/reindexdb.c @@ -757,7 +757,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(_(" -v, --verbose write a lot of output\n")); |