On Thursday, November 7, 2024, PG Bug reporting form <
noreply@postgresql.org> wrote:
The following bug has been logged on the website:
Bug reference: 18694
Logged by: David Pavlíček
Email address: pavlicek.david@gmail.com
PostgreSQL version: 13.13
Operating system: Linux
Description:
In my opinion, the DISCARD ALL command should reset the internal
execution counters of plpgsql functions.
To my knowledge there is no user-exposed way to reset those counters. Thus discard all cannot reset them. It is a missing feature, not a bug. One that I agree makes sense to add.
David J.