On Thu, Mar 5, 2020 at 6:45 PM Tom Lane <t...@sss.pgh.pa.us> wrote: > 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. >
Oh, that's easy. Thanks for pointing that out. I'll be attaching a new patch soon incorporating that check. James