]> granicus.if.org Git - postgresql/commitdiff
Adjust EXPLAIN documentation, so that it's not unreasonably wide.
authorRobert Haas <rhaas@postgresql.org>
Sat, 9 Oct 2010 02:59:48 +0000 (22:59 -0400)
committerRobert Haas <rhaas@postgresql.org>
Sat, 9 Oct 2010 02:59:48 +0000 (22:59 -0400)
The new formatting matches what we do for COPY.

Per a complaint from Bruce Momjian.

doc/src/sgml/ref/explain.sgml

index 8b98e42e33c2c607ff6270980e1e13f3b4b039fd..3d7d13c0c10d46dc33887b9625c4f239d5e29152 100644 (file)
@@ -31,8 +31,16 @@ PostgreSQL documentation
 
  <refsynopsisdiv>
 <synopsis>
-EXPLAIN [ ( { ANALYZE <replaceable class="parameter">boolean</replaceable> | VERBOSE <replaceable class="parameter">boolean</replaceable> | COSTS <replaceable class="parameter">boolean</replaceable> | BUFFERS <replaceable class="parameter">boolean</replaceable> | FORMAT { TEXT | XML | JSON | YAML } } [, ...] ) ] <replaceable class="parameter">statement</replaceable>
+EXPLAIN [ ( <replaceable class="parameter">option</replaceable> [, ...] ) ] <replaceable class="parameter">statement</replaceable>
 EXPLAIN [ ANALYZE ] [ VERBOSE ] <replaceable class="parameter">statement</replaceable>
+
+<phrase>where <replaceable class="parameter">option</replaceable> can be one of:</phrase>
+
+    ANALYZE [ <replaceable class="parameter">boolean</replaceable> ]
+    VERBOSE [ <replaceable class="parameter">boolean</replaceable> ]
+    COSTS [ <replaceable class="parameter">boolean</replaceable> ]
+    BUFFERS [ <replaceable class="parameter">boolean</replaceable> ]
+    FORMAT { TEXT | XML | JSON | YAML }
 </synopsis>
  </refsynopsisdiv>