Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp> writes:
> Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Pushing extra arguments around would create overhead of its own ...
>> overhead that would be paid even when not using EXPLAIN at all.
> I cannot understand what you mean... The additional argument should
> not be a performance overhead because the code path is run only once
> per execution.
Hmm, maybe, but still: once you have two flags you're likely to need
more. I concur with turning doInstrument into a bitmask as per Robert's
suggestion downthread.
regards, tom lane