Tweak the behavior of log_duration as proposed by Guillaume Smet: rather

Tom Lane <tgl@sss.pgh.pa.us>

Commit: b59d31c21571995ca717c29eabd4022f35c35169
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-09-08T15:55:53Z
Releases: 8.2.0
Tweak the behavior of log_duration as proposed by Guillaume Smet: rather
than being equivalent to setting log_min_duration_statement to zero, this
option now forces logging of all query durations, but doesn't force logging
of query text.  Also, add duration logging coverage for fastpath function
calls.

Files

PathChange+/−
doc/src/sgml/config.sgml modified +14 −15
src/backend/tcop/fastpath.c modified +23 −1
src/backend/tcop/postgres.c modified +64 −32
src/include/tcop/tcopprot.h modified +2 −1