11<!--
2- $PostgreSQL: pgsql/doc/src/sgml/ref/explain.sgml,v 1.45 2009/07/26 23:34:17 tgl Exp $
2+ $PostgreSQL: pgsql/doc/src/sgml/ref/explain.sgml,v 1.46 2009/08/10 05:46:50 tgl Exp $
33PostgreSQL documentation
44-->
55
@@ -31,7 +31,7 @@ PostgreSQL documentation
3131
3232 <refsynopsisdiv>
3333<synopsis>
34- EXPLAIN [ ( { ANALYZE <replaceable class="parameter">boolean</replaceable> | VERBOSE <replaceable class="parameter">boolean</replaceable> | COSTS <replaceable class="parameter">boolean</replaceable> } [, ...] ) ] <replaceable class="parameter">statement</replaceable>
34+ EXPLAIN [ ( { ANALYZE <replaceable class="parameter">boolean</replaceable> | VERBOSE <replaceable class="parameter">boolean</replaceable> | COSTS <replaceable class="parameter">boolean</replaceable> | FORMAT { TEXT | XML | JSON } } [, ...] ) ] <replaceable class="parameter">statement</replaceable>
3535EXPLAIN [ ANALYZE ] [ VERBOSE ] <replaceable class="parameter">statement</replaceable>
3636</synopsis>
3737 </refsynopsisdiv>
@@ -109,7 +109,7 @@ ROLLBACK;
109109 <listitem>
110110 <para>
111111 Carry out the command and show the actual run times. This
112- parameter defaults to <command >FALSE</command >.
112+ parameter defaults to <literal >FALSE</literal >.
113113 </para>
114114 </listitem>
115115 </varlistentry>
@@ -118,8 +118,12 @@ ROLLBACK;
118118 <term><literal>VERBOSE</literal></term>
119119 <listitem>
120120 <para>
121- Include the output column list for each node in the plan tree. This
122- parameter defaults to <command>FALSE</command>.
121+ Display additional information regarding the plan. Specifically, include
122+ the output column list for each node in the plan tree, schema-qualify
123+ table and function names, always label variables in expressions with
124+ their range table alias, and always print the name of each trigger for
125+ which statistics are displayed. This parameter defaults to
126+ <literal>FALSE</literal>.
123127 </para>
124128 </listitem>
125129 </varlistentry>
@@ -130,7 +134,19 @@ ROLLBACK;
130134 <para>
131135 Include information on the estimated startup and total cost of each
132136 plan node, as well as the estimated number of rows and the estimated
133- width of each row. This parameter defaults to <command>TRUE</command>.
137+ width of each row. This parameter defaults to <literal>TRUE</literal>.
138+ </para>
139+ </listitem>
140+ </varlistentry>
141+
142+ <varlistentry>
143+ <term><literal>FORMAT</literal></term>
144+ <listitem>
145+ <para>
146+ Specify the output format, which can be TEXT, XML, or JSON.
147+ XML or JSON output contains the same information as the text output
148+ format, but is easier for programs to parse. This parameter defaults to
149+ <literal>TEXT</literal>.
134150 </para>
135151 </listitem>
136152 </varlistentry>
0 commit comments