agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
pgsql: Apply some query jumbling to WAIT FOR LSN
2+ messages / 1 participants
[nested] [flat]

* pgsql: Apply some query jumbling to WAIT FOR LSN
@ 2026-09-02 05:14  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2026-09-02 05:14 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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: https://postgr.es/m/1f04f78c-2cfa-47a0-997f-f02572cd10eb@eisentraut.org
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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Apply some query jumbling to WAIT FOR LSN
@ 2026-09-02 05:14  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2026-09-02 05:14 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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: https://postgr.es/m/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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-09-02 05:14 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-09-02 05:14 pgsql: Apply some query jumbling to WAIT FOR LSN Michael Paquier <michael@paquier.xyz>
2026-09-02 05:14 pgsql: Apply some query jumbling to WAIT FOR LSN Michael Paquier <michael@paquier.xyz>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox