1
1
<!--
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 $
3
3
PostgreSQL documentation
4
4
-->
5
5
@@ -31,7 +31,7 @@ PostgreSQL documentation
31
31
32
32
<refsynopsisdiv>
33
33
<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>
35
35
EXPLAIN [ ANALYZE ] [ VERBOSE ] <replaceable class="parameter">statement</replaceable>
36
36
</synopsis>
37
37
</refsynopsisdiv>
@@ -109,7 +109,7 @@ ROLLBACK;
109
109
<listitem>
110
110
<para>
111
111
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 >.
113
113
</para>
114
114
</listitem>
115
115
</varlistentry>
@@ -118,8 +118,12 @@ ROLLBACK;
118
118
<term><literal>VERBOSE</literal></term>
119
119
<listitem>
120
120
<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>.
123
127
</para>
124
128
</listitem>
125
129
</varlistentry>
@@ -130,7 +134,19 @@ ROLLBACK;
130
134
<para>
131
135
Include information on the estimated startup and total cost of each
132
136
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>.
134
150
</para>
135
151
</listitem>
136
152
</varlistentry>
0 commit comments