aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-06-25 11:40:06 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-06-25 11:40:06 +0200
commit3af10943ce21450e299b3915b9cad47cd90369e9 (patch)
tree8d7d2cb844f9910cb34b7505340ca68aa084dc30
parente59d428f34297cd0eb67e3b4e4b8c8bc58504921 (diff)
downloadpostgresql-3af10943ce21450e299b3915b9cad47cd90369e9.tar.gz
postgresql-3af10943ce21450e299b3915b9cad47cd90369e9.zip
Put option listing back into alphabetical order
-rw-r--r--doc/src/sgml/ref/vacuumdb.sgml30
-rw-r--r--src/bin/scripts/vacuumdb.c2
2 files changed, 16 insertions, 16 deletions
diff --git a/doc/src/sgml/ref/vacuumdb.sgml b/doc/src/sgml/ref/vacuumdb.sgml
index d799804cdad..223b986b920 100644
--- a/doc/src/sgml/ref/vacuumdb.sgml
+++ b/doc/src/sgml/ref/vacuumdb.sgml
@@ -152,6 +152,21 @@ PostgreSQL documentation
</varlistentry>
<varlistentry>
+ <term><option>--force-index-cleanup</option></term>
+ <listitem>
+ <para>
+ Always remove index entries pointing to dead tuples.
+ </para>
+ <note>
+ <para>
+ This option is only available for servers running
+ <productname>PostgreSQL</productname> 12 and later.
+ </para>
+ </note>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-j <replaceable class="parameter">njobs</replaceable></option></term>
<term><option>--jobs=<replaceable class="parameter">njobs</replaceable></option></term>
<listitem>
@@ -245,21 +260,6 @@ PostgreSQL documentation
</varlistentry>
<varlistentry>
- <term><option>--force-index-cleanup</option></term>
- <listitem>
- <para>
- Always remove index entries pointing to dead tuples.
- </para>
- <note>
- <para>
- This option is only available for servers running
- <productname>PostgreSQL</productname> 12 and later.
- </para>
- </note>
- </listitem>
- </varlistentry>
-
- <varlistentry>
<term><option>--no-process-toast</option></term>
<listitem>
<para>
diff --git a/src/bin/scripts/vacuumdb.c b/src/bin/scripts/vacuumdb.c
index 122e8932f1b..61974baa780 100644
--- a/src/bin/scripts/vacuumdb.c
+++ b/src/bin/scripts/vacuumdb.c
@@ -1038,11 +1038,11 @@ help(const char *progname)
printf(_(" -e, --echo show the commands being sent to the server\n"));
printf(_(" -f, --full do full vacuuming\n"));
printf(_(" -F, --freeze freeze row transaction information\n"));
+ printf(_(" --force-index-cleanup always remove index entries that point to dead tuples\n"));
printf(_(" -j, --jobs=NUM use this many concurrent connections to vacuum\n"));
printf(_(" --min-mxid-age=MXID_AGE minimum multixact ID age of tables to vacuum\n"));
printf(_(" --min-xid-age=XID_AGE minimum transaction ID age of tables to vacuum\n"));
printf(_(" --no-index-cleanup don't remove index entries that point to dead tuples\n"));
- printf(_(" --force-index-cleanup always remove index entries that point to dead tuples\n"));
printf(_(" --no-process-toast skip the TOAST table associated with the table to vacuum\n"));
printf(_(" --no-truncate don't truncate empty pages at the end of the table\n"));
printf(_(" -P, --parallel=PARALLEL_WORKERS use this many background workers for vacuum, if available\n"));