Clarify that --system reindexes system catalogs *only*
authorMagnus Hagander <[email protected]>
Wed, 27 Oct 2021 14:20:02 +0000 (16:20 +0200)
committerMagnus Hagander <[email protected]>
Wed, 27 Oct 2021 14:29:11 +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 390dc5ebd58e0a3cedc2910a54cd2c62bac48af2..73e45d7f2eb05a1477f411cf55d2eb0abdadf8f9 100644 (file)
@@ -174,7 +174,7 @@ PostgreSQL documentation
       <term><option>--system</></term>
       <listitem>
        <para>
-        Reindex database's system catalogs.
+        Reindex database's system catalogs only.
        </para>
       </listitem>
      </varlistentry>
index 2890e98c41e596aa3eec114afd8b79fc106875a8..05ef348cd6949c588500b26003221fa107732ca6 100644 (file)
@@ -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"));