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
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
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