Takahiro Itagaki <itagaki.takah...@oss.ntt.co.jp> writes: > Tom Lane <t...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers