Andrew Dunstan <and...@dunslane.net> writes: > On 7/25/21 12:03 PM, Tom Lane wrote: >> So AFAICS this test is inherently unstable and there is no code bug >> to be fixed. We could drop the "plans" column from this query, or >> print something approximate like "plans > 0 AND plans <= calls". >> Thoughts?
> Is that likely to tell us anything very useful? The variant suggested downthread ("plans >= 2 AND plans <= calls" for the PREPARE entry only) seems like it's still reasonably useful. At least it can verify that a replan has occurred and been counted. regards, tom lane