On Tue, May 12, 2026 at 11:00:16AM +0200, Andres Freund wrote:
> Seems like the code should make this clearer, by simply unsetting
> pstmt at the point it becomes unsafe to use?
Sure, we could do that as well and crash hard if something decides to
do the same mistake. Like the simple patch attached for example? I
am not sure if we need to update the comment. It's pretty clear what
the intention is, at least to me.
--
Michael