A new version of pg_stat_sql_plans (version 0.2) has been released.
Main changes are:
- planid is build at planning time, making it reusable by cached plans,
- expose current queryid, planid per pid in pg_stat_activity,
- planning counters are now calculated per (queryid,planid),
- includes a specific 'minimal' explain plan, for performances,
- ...
It needs PG13 (as it is using new planner hook query_string) and is
still available at https://github.com/legrandlegrand/pg_stat_sql_plans
Regards
PAscal
--
Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html