<!--
-$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.252 2004/03/23 01:23:48 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.253 2004/03/24 03:48:41 neilc Exp $
-->
<Chapter Id="runtime">
Causes the duration of every completed statement to be logged.
To use this option, it is recommended that you also enable
<varname>log_statement</> and if not using <application>syslog</>
- log the PID using <varname>log_line_prefix</> so that you
+ log the PID using <varname>log_line_prefix</> so that you
can link the statement to the duration using the process
ID. The default is off. Only superusers can turn off this
option if it is enabled by the administrator.
<term><varname>log_line_prefix</varname> (<type>string</type>)</term>
<listitem>
<para>
- This is a <literal>printf</>-style string that is output at the
+ This is a <function>printf</>-style string that is output at the
beginning of each log line. The default is an empty string.
Each recognized escape is replaced as outlined
below - anything else that looks like an escape is ignored. Other
timestamp and process ID information, so you probably do not want to
use those escapes if you are using <application>syslog</>.
This option can only be set at server start or in the
- <filename>postgresql.conf</filename> configuration file.
+ <filename>postgresql.conf</filename> configuration file.
<informaltable>
<tgroup cols="3">
<thead>
</row>
<row>
<entry><literal>%l</literal></entry>
- <entry>Number of the log line for each process,
+ <entry>Number of the log line for each process,
starting at 1</entry>
<entry>No</entry>
</row>
</row>
<row>
<entry><literal>%%</literal></entry>
- <entry>literal <literal>%</></entry>
+ <entry>Literal <literal>%</></entry>
<entry>No</entry>
</row>
</tbody>