postgresql/contrib/pg_stat_statements/expected
Michael Paquier bb45156f34 Show names of DEALLOCATE as constants in pg_stat_statements
This commit switches query jumbling so as prepared statement names are
treated as constants in DeallocateStmt.  A boolean field is added to
DeallocateStmt to make a distinction between ALL and named prepared
statements, as "name" was used to make this difference before, NULL
meaning DEALLOCATE ALL.

Prior to this commit, DEALLOCATE was not tracked in pg_stat_statements,
for the reason that it was not possible to treat its name parameter as a
constant.  Now that query jumbling applies to all the utility nodes,
this reason does not apply anymore.

Like 638d42a3c5, this can be a huge advantage for monitoring where
prepared statement names are randomly generated, preventing bloat in
pg_stat_statements.  A couple of tests are added to track the new
behavior.

Author: Dagfinn Ilmari Mannsåker, Michael Paquier
Reviewed-by: Julien Rouhaud
Discussion: https://postgr.es/m/ZMhT9kNtJJsHw6jK@paquier.xyz
2023-08-27 17:27:44 +09:00
..
cleanup.out Refactor tests of pg_stat_statements for planning, utility and level tracking 2023-02-20 09:28:29 +09:00
cursors.out Reflect normalization of query strings for utilities in pg_stat_statements 2023-03-08 15:00:50 +09:00
dml.out Refactor more the regression tests of pg_stat_statements 2023-03-03 08:46:11 +09:00
level_tracking.out Improve cleanup phases in regression tests of pg_stat_statements 2023-03-07 08:58:13 +09:00
oldextversions.out Add JIT counters to pg_stat_statements 2022-04-08 13:52:16 +02:00
planning.out Refactor tests of pg_stat_statements for planning, utility and level tracking 2023-02-20 09:28:29 +09:00
select.out Refactor more the regression tests of pg_stat_statements 2023-03-03 08:46:11 +09:00
user_activity.out Improve cleanup phases in regression tests of pg_stat_statements 2023-03-07 08:58:13 +09:00
utility.out Show names of DEALLOCATE as constants in pg_stat_statements 2023-08-27 17:27:44 +09:00
wal.out Improve cleanup phases in regression tests of pg_stat_statements 2023-03-07 08:58:13 +09:00