Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 94af84f

Browse files
committed
pg_amcheck: Put new options in consistent order in --help and man page
1 parent 8aee330 commit 94af84f

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

doc/src/sgml/ref/pg_amcheck.sgml

+11-11
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,17 @@ PostgreSQL documentation
383383
The following command-line options control checking of B-tree indexes:
384384

385385
<variablelist>
386+
<varlistentry>
387+
<term><option>--checkunique</option></term>
388+
<listitem>
389+
<para>
390+
For each index with unique constraint checked, verify that no more than
391+
one among duplicate entries is visible in the index using <xref linkend="amcheck"/>'s
392+
<option>checkunique</option> option.
393+
</para>
394+
</listitem>
395+
</varlistentry>
396+
386397
<varlistentry>
387398
<term><option>--heapallindexed</option></term>
388399
<listitem>
@@ -432,17 +443,6 @@ PostgreSQL documentation
432443
</para>
433444
</listitem>
434445
</varlistentry>
435-
436-
<varlistentry>
437-
<term><option>--checkunique</option></term>
438-
<listitem>
439-
<para>
440-
For each index with unique constraint checked, verify that no more than
441-
one among duplicate entries is visible in the index using <xref linkend="amcheck"/>'s
442-
<option>checkunique</option> option.
443-
</para>
444-
</listitem>
445-
</varlistentry>
446446
</variablelist>
447447
</para>
448448

src/bin/pg_amcheck/pg_amcheck.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1205,10 +1205,10 @@ help(const char *progname)
12051205
printf(_(" --startblock=BLOCK begin checking table(s) at the given block number\n"));
12061206
printf(_(" --endblock=BLOCK check table(s) only up to the given block number\n"));
12071207
printf(_("\nB-tree index checking options:\n"));
1208+
printf(_(" --checkunique check unique constraint if index is unique\n"));
12081209
printf(_(" --heapallindexed check that all heap tuples are found within indexes\n"));
12091210
printf(_(" --parent-check check index parent/child relationships\n"));
12101211
printf(_(" --rootdescend search from root page to refind tuples\n"));
1211-
printf(_(" --checkunique check unique constraint if index is unique\n"));
12121212
printf(_("\nConnection options:\n"));
12131213
printf(_(" -h, --host=HOSTNAME database server host or socket directory\n"));
12141214
printf(_(" -p, --port=PORT database server port\n"));

0 commit comments

Comments
 (0)