@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.185 2008/08/15 08:37:41 mha Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.186 2008/08/19 18:30:04 tgl Exp $ -->
<chapter Id="runtime-config">
<chapter Id="runtime-config">
<title>Server Configuration</title>
<title>Server Configuration</title>
@ -2817,7 +2817,6 @@ local0.* /var/log/postgresql
<term><varname>debug_print_parse</varname> (<type>boolean</type>)</term>
<term><varname>debug_print_parse</varname> (<type>boolean</type>)</term>
<term><varname>debug_print_rewritten</varname> (<type>boolean</type>)</term>
<term><varname>debug_print_rewritten</varname> (<type>boolean</type>)</term>
<term><varname>debug_print_plan</varname> (<type>boolean</type>)</term>
<term><varname>debug_print_plan</varname> (<type>boolean</type>)</term>
<term><varname>debug_pretty_print</varname> (<type>boolean</type>)</term>
<indexterm>
<indexterm>
<primary><varname>debug_print_parse</> configuration parameter</primary>
<primary><varname>debug_print_parse</> configuration parameter</primary>
</indexterm>
</indexterm>
@ -2827,21 +2826,34 @@ local0.* /var/log/postgresql
<indexterm>
<indexterm>
<primary><varname>debug_print_plan</> configuration parameter</primary>
<primary><varname>debug_print_plan</> configuration parameter</primary>
</indexterm>
</indexterm>
<listitem>
<para>
These parameters enable various debugging output to be emitted.
When set, they print the resulting parse tree, the query rewriter
output, or the execution plan for each executed query.
These messages are emitted at <literal>LOG</> message level, so by
default they will appear in the server log but will not be sent to the
client. You can change that by adjusting
<xref linkend="guc-client-min-messages"> and/or
<xref linkend="guc-log-min-messages">.
These parameters are off by default.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>debug_pretty_print</varname> (<type>boolean</type>)</term>
<indexterm>
<indexterm>
<primary><varname>debug_pretty_print</> configuration parameter</primary>
<primary><varname>debug_pretty_print</> configuration parameter</primary>
</indexterm>
</indexterm>
<listitem>
<listitem>
<para>
<para>
These parameters enable various debugging output to be emitted.
When set, <varname>debug_pretty_print</varname> indents the messages
For each executed query, they print
produced by <varname>debug_print_parse</varname>,
the resulting parse tree, the query rewriter output, or the
<varname>debug_print_rewritten</varname>, or
execution plan. <varname>debug_pretty_print</varname> indents
<varname>debug_print_plan</varname>. This results in more readable
these displays to produce a more readable but much longer
but much longer output than the <quote>compact</> format used when
output format. <varname>client_min_messages</varname> or
it is off. It is on by default.
<varname>log_min_messages</varname> must be
<literal>DEBUG1</literal> or lower to actually send this output
to the client or the server log, respectively.
These parameters are off by default.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>