]> granicus.if.org Git - postgresql/commitdiff
Simplify syntax diagram for REINDEX.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 4 Feb 2016 18:58:40 +0000 (13:58 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 4 Feb 2016 18:58:40 +0000 (13:58 -0500)
Since there currently is only one possible parenthesized option, namely
VERBOSE, it's a bit pointless to show it with "{ } [, ... ]".  The curly
braces are useless and therefore confusing, as seen in a recent question
from Karsten Hilbert.  Remove the extra decoration for the time being;
we can put it back when and if REINDEX grows some more options.

doc/src/sgml/ref/reindex.sgml

index 703b7609cfee0516a981b9b9ce3253194cd215f6..3908ade37b8fea5a7cba0fc8c45f7e077c9634d0 100644 (file)
@@ -21,7 +21,7 @@ PostgreSQL documentation
 
  <refsynopsisdiv>
 <synopsis>
-REINDEX [ ( { VERBOSE } [, ...] ) ] { INDEX | TABLE | SCHEMA | DATABASE | SYSTEM } <replaceable class="PARAMETER">name</replaceable>
+REINDEX [ ( VERBOSE ) ] { INDEX | TABLE | SCHEMA | DATABASE | SYSTEM } <replaceable class="PARAMETER">name</replaceable>
 </synopsis>
  </refsynopsisdiv>