Causes the duration of every completed statement to be logged.
To use this option, it is recommended that you also enable
log_statement> and if not using syslog>
- log the PID using log_line_prefix> so that you
+ log the PID using 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.
log_line_prefix (string)
- 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
syslog>.
This option can only be set at server start or in the
- postgresql.conf configuration file.
+ postgresql.conf configuration file.
|
%l
- Number of the log line for each process,
+ Number of the log line for each process,
starting at 1
No
|
%%
- literal %>
+ Literal %>
No