mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Fix a minor typo in the log_line_prefix docs and make a couple other
tiny improvements.
This commit is contained in:
parent
6daf396879
commit
d6bc5944a0
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$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">
|
<Chapter Id="runtime">
|
||||||
@ -1988,7 +1988,7 @@ SET ENABLE_SEQSCAN TO OFF;
|
|||||||
Causes the duration of every completed statement to be logged.
|
Causes the duration of every completed statement to be logged.
|
||||||
To use this option, it is recommended that you also enable
|
To use this option, it is recommended that you also enable
|
||||||
<varname>log_statement</> and if not using <application>syslog</>
|
<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
|
can link the statement to the duration using the process
|
||||||
ID. The default is off. Only superusers can turn off this
|
ID. The default is off. Only superusers can turn off this
|
||||||
option if it is enabled by the administrator.
|
option if it is enabled by the administrator.
|
||||||
@ -2000,7 +2000,7 @@ SET ENABLE_SEQSCAN TO OFF;
|
|||||||
<term><varname>log_line_prefix</varname> (<type>string</type>)</term>
|
<term><varname>log_line_prefix</varname> (<type>string</type>)</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<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.
|
beginning of each log line. The default is an empty string.
|
||||||
Each recognized escape is replaced as outlined
|
Each recognized escape is replaced as outlined
|
||||||
below - anything else that looks like an escape is ignored. Other
|
below - anything else that looks like an escape is ignored. Other
|
||||||
@ -2010,7 +2010,7 @@ SET ENABLE_SEQSCAN TO OFF;
|
|||||||
timestamp and process ID information, so you probably do not want to
|
timestamp and process ID information, so you probably do not want to
|
||||||
use those escapes if you are using <application>syslog</>.
|
use those escapes if you are using <application>syslog</>.
|
||||||
This option can only be set at server start or in the
|
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>
|
<informaltable>
|
||||||
<tgroup cols="3">
|
<tgroup cols="3">
|
||||||
<thead>
|
<thead>
|
||||||
@ -2063,7 +2063,7 @@ SET ENABLE_SEQSCAN TO OFF;
|
|||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>%l</literal></entry>
|
<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>
|
starting at 1</entry>
|
||||||
<entry>No</entry>
|
<entry>No</entry>
|
||||||
</row>
|
</row>
|
||||||
@ -2081,7 +2081,7 @@ SET ENABLE_SEQSCAN TO OFF;
|
|||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry><literal>%%</literal></entry>
|
<entry><literal>%%</literal></entry>
|
||||||
<entry>literal <literal>%</></entry>
|
<entry>Literal <literal>%</></entry>
|
||||||
<entry>No</entry>
|
<entry>No</entry>
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user