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:28:11 +0000 (16:28 +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 80a7f84886bed66cb5c8115a67d123a79d6fd73e..8cb8bf4fa3924adb18572d4d22ec21387bd52a03 100644 (file)
@@ -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>
index a0b0250c499571305c7da82ef377d934ec32d038..64fbb40baf12ce1c9d1289621695955f83d7d1c2 100644 (file)
@@ -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"));