]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Clarify that --system reindexes system catalogs *only*
authorMagnus Hagander <magnus@hagander.net>
Wed, 27 Oct 2021 14:20:02 +0000 (16:20 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 27 Oct 2021 14:29:04 +0000 (16:29 +0200)
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

doc/src/sgml/ref/reindexdb.sgml
src/bin/scripts/reindexdb.c

index dae5e0393dd596897ab8717193515fd6dc577e92..1afe4a3293c06906e29d8448744300284982cbd1 100644 (file)
@@ -185,7 +185,7 @@ PostgreSQL documentation
       <term><option>--system</option></term>
       <listitem>
        <para>
-        Reindex database's system catalogs.
+        Reindex database's system catalogs only.
        </para>
       </listitem>
      </varlistentry>
index 5281e993b4306d07292f1e92d87f508edaf6491b..26f2e5f237776c29dfa915ced554920cb2e2a62a 100644 (file)
@@ -428,7 +428,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"));