Tweak the behavior of log_duration as proposed by Guillaume Smet: rather
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| 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 |