diff options
-rw-r--r-- | doc/src/sgml/ref/pg_amcheck.sgml | 22 | ||||
-rw-r--r-- | src/bin/pg_amcheck/pg_amcheck.c | 2 |
2 files changed, 12 insertions, 12 deletions
diff --git a/doc/src/sgml/ref/pg_amcheck.sgml b/doc/src/sgml/ref/pg_amcheck.sgml index 2b9634b3ac2..6bfe28799c4 100644 --- a/doc/src/sgml/ref/pg_amcheck.sgml +++ b/doc/src/sgml/ref/pg_amcheck.sgml @@ -384,6 +384,17 @@ PostgreSQL documentation <variablelist> <varlistentry> + <term><option>--checkunique</option></term> + <listitem> + <para> + For each index with unique constraint checked, verify that no more than + one among duplicate entries is visible in the index using <xref linkend="amcheck"/>'s + <option>checkunique</option> option. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><option>--heapallindexed</option></term> <listitem> <para> @@ -432,17 +443,6 @@ PostgreSQL documentation </para> </listitem> </varlistentry> - - <varlistentry> - <term><option>--checkunique</option></term> - <listitem> - <para> - For each index with unique constraint checked, verify that no more than - one among duplicate entries is visible in the index using <xref linkend="amcheck"/>'s - <option>checkunique</option> option. - </para> - </listitem> - </varlistentry> </variablelist> </para> diff --git a/src/bin/pg_amcheck/pg_amcheck.c b/src/bin/pg_amcheck/pg_amcheck.c index 7e3101704d4..a1ad41e7664 100644 --- a/src/bin/pg_amcheck/pg_amcheck.c +++ b/src/bin/pg_amcheck/pg_amcheck.c @@ -1205,10 +1205,10 @@ help(const char *progname) printf(_(" --startblock=BLOCK begin checking table(s) at the given block number\n")); printf(_(" --endblock=BLOCK check table(s) only up to the given block number\n")); printf(_("\nB-tree index checking options:\n")); + printf(_(" --checkunique check unique constraint if index is unique\n")); printf(_(" --heapallindexed check that all heap tuples are found within indexes\n")); printf(_(" --parent-check check index parent/child relationships\n")); printf(_(" --rootdescend search from root page to refind tuples\n")); - printf(_(" --checkunique check unique constraint if index is unique\n")); printf(_("\nConnection options:\n")); printf(_(" -h, --host=HOSTNAME database server host or socket directory\n")); printf(_(" -p, --port=PORT database server port\n")); |