pgsql: Apply some query jumbling to WAIT FOR LSN
Apply some query jumbling to WAIT FOR LSN
The query is now stored as normalized in pg_stat_statements, with its
LSN position ignored in the jumbling, resulting in:
WAIT FOR LSN $1;
The option values in the WITH clause are left untouched.
Reported-by: Peter Eisentraut <peter@eisentraut.org>
Author: Sirisha Chamarthi <sirichamarthi22@gmail.com>
Reviewed-by: Sami Imseih <samimseih.pg@gmail.com>
Reviewed-by: Rithvika Devisetti <devisettirithvika@gmail.com>
Discussion: /messages/by-id/1f04f78c-2cfa-47a0-997f-f02572cd10eb@eisentraut.org
Backpatch-through: 19
Branch
------
REL_19_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/7635a3206797a9c793bcf2e43d107c9fe08dc17d
Modified Files
--------------
contrib/pg_stat_statements/expected/utility.out | 41 +++++++++++++++++++++++++
contrib/pg_stat_statements/sql/utility.sql | 10 ++++++
src/backend/parser/gram.y | 1 +
src/include/nodes/parsenodes.h | 8 +++--
4 files changed, 58 insertions(+), 2 deletions(-)