From a1ce88a59c05ac63c92f36c219f714e5552e9ba3 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 15 Oct 2004 16:50:31 +0000 Subject: Have log_duration only output when log_statement has printed the query. This handles the new multiple log_statement values. Ed L. --- doc/src/sgml/runtime.sgml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'doc/src') 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 @@ @@ -2355,13 +2355,14 @@ archive_command = 'copy "%p" /mnt/server/archivedir/"%f"' # Win32 log_duration (boolean) - 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 - 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 + log_statement to be logged. When using this option, + if you are not using syslog, it is recommended + that you log the PID or session ID using 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. -- cgit v1.2.3