]> 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:13 +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 b032a62913d895726e4d3644cda1c25a95115ac0..5a833ff11bc2516507cf1e68b0c825df81a9ef0d 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 76f0daaadf3b8e9a99c59c01a1c96653e93f8ff2..f39f81263ae0bdf44cd05650bfdce1401cb01487 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"));