Files
Michael Paquier 3966309d21 pg_stat_statements: Add counters for generic and custom plans
This patch adds two new counters to pg_stat_statements:
- generic_plan_calls
- custom_plan_calls

These counters track how many times a prepared statement was executed
using a generic or custom plan, respectively, providing a global
equivalent at query level, for top and non-top levels, of
pg_prepared_statements whose data is restricted to a single session.

This commit builds upon 92b273de39.  The module is bumped to version
1.13.  PGSS_FILE_HEADER is bumped as well, something that the latest
patches touching the on-disk format of the PGSS file did not actually
bother with since 2022..

Author: Sami Imseih <[email protected]>
Reviewed-by: Ilia Evdokimov <[email protected]>
Reviewed-by: Andrei Lepikhov <[email protected]>
Reviewed-by: Michael Paquier <[email protected]>
Reviewed-by: Nikolay Samokhvalov <[email protected]>
Discussion: https://postgr.es/m/CAA5RZ0uFw8Y9GCFvafhC=OA8NnMqVZyzXPfv_EePOt+iv1T-qQ@mail.gmail.com
2025-07-31 11:37:37 +09:00

6 lines
205 B
Plaintext

# pg_stat_statements extension
comment = 'track planning and execution statistics of all SQL statements executed'
default_version = '1.13'
module_pathname = '$libdir/pg_stat_statements'
relocatable = true