James Coleman <jtc331@gmail.com> writes: > That's what I figured, but as I mentioned I've having trouble figuring out > how the fact that an analyze is in flight is determined. I assume it's > something that lives of the EState or similar, but I'm not seeing anything > obvious.
AFAIR, it's just whether or not the current planstate node has an instrumentation struct attached.
Oh, that's easy. Thanks for pointing that out. I'll be attaching a new patch soon incorporating that check.