DISCARD PLANS should probably forget about it though indeed.
> 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.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных