[PATCHES] Fix for log_executor_stats

2004-03-04 Thread Bruce Momjian
The log_executor_stats config variable doesn't work 100%. It shows stats for only certain SQL queries. Looking at utils/portal.h: * We have several execution strategies for Portals, depending on what * query or queries are to be executed. (Note: in all cases, a Portal * executes just a singl

Re: [PATCHES] Fix for log_executor_stats

2004-03-04 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > it only logs executor stats for PORTAL_MULTI_QUERY queries. I assume > this was done so that individual queries are logged rather than the > entire multi-query. I think it was just an oversight. IIRC, the PORTAL_MULTI_QUERY path of control is the only

Re: [PATCHES] Fix for log_executor_stats

2004-03-04 Thread Bruce Momjian
Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> writes: > > it only logs executor stats for PORTAL_MULTI_QUERY queries. I assume > > this was done so that individual queries are logged rather than the > > entire multi-query. > > I think it was just an oversight. IIRC, the PORTAL_MULTI_QUERY