diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-10-15 16:50:31 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-10-15 16:50:31 +0000 |
commit | a1ce88a59c05ac63c92f36c219f714e5552e9ba3 (patch) | |
tree | f9435c20dcf1374c0f1b9d6738c273ccf18784a9 /doc/src | |
parent | c96c02c7af504a8b9d5051c619fe0e96c47cfe6d (diff) | |
download | postgresql-a1ce88a59c05ac63c92f36c219f714e5552e9ba3.tar.gz postgresql-a1ce88a59c05ac63c92f36c219f714e5552e9ba3.zip |
Have log_duration only output when log_statement has printed the query.
This handles the new multiple log_statement values.
Ed L.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/runtime.sgml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index da1d0745470..f82fbc877de 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.287 2004/10/09 23:12:53 tgl Exp $ +$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.288 2004/10/15 16:50:29 momjian Exp $ --> <Chapter Id="runtime"> @@ -2355,13 +2355,14 @@ archive_command = 'copy "%p" /mnt/server/archivedir/"%f"' # Win32 <term><varname>log_duration</varname> (<type>boolean</type>)</term> <listitem> <para> - 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 - 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. + Causes the duration of every completed statement which satisfies + <varname>log_statement</> to be logged. When using this option, + if you are not using <application>syslog</>, it is recommended + that you log the PID or session ID using <varname>log_line_prefix</> + or log the session ID so that you can link the statement to the + duration using the process ID or session ID. The default is off. + Only superusers can turn off this option if it is enabled by the + administrator. </para> </listitem> </varlistentry> |