On Sun, May 26, 2024, 12:26 Jelte Fennema-Nio <postg...@jeltef.nl> wrote:
> DISCARD PLANS should probably forget about it though indeed. > DISCARD PLANS should probably **not** forget about it > > Note that any change in behavior there would affect prepared > > statements in general, not only plpgsql. > > DISCARD ALL already removes all prepared statements and thus their run > counts, so for prepared statements there would be no difference there. >