mirror of
https://github.com/postgres/postgres.git
synced 2026-02-16 17:19:08 -05:00
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
|
||
|---|---|---|
| .. | ||
| cleanup.out | ||
| cursors.out | ||
| dml.out | ||
| level_tracking.out | ||
| oldextversions.out | ||
| planning.out | ||
| select.out | ||
| user_activity.out | ||
| utility.out | ||
| wal.out | ||