James Coleman <jtc...@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. regards, tom lane