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 <[email protected]>
Author: Sirisha Chamarthi <[email protected]>
Reviewed-by: Sami Imseih <[email protected]>
Reviewed-by: Rithvika Devisetti <[email protected]>
Discussion: 
https://postgr.es/m/[email protected]
Backpatch-through: 19

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/282111b45c86b9e61809dbf3bd4a74ec0f6a4807

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(-)

Reply via email to