WAIT FOR command should do some query jumbling

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
Subject: WAIT FOR command should do some query jumbling
Date: 2026-08-28 21:48:42
Message-ID: 1f04f78c-2cfa-47a0-997f-f02572cd10eb@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Right now, WAIT FOR commands are recorded literally in
pg_stat_statements. I think the actual LSN value should be replaced by
some placeholder, like

WAIT FOR LSN $1

Otherwise, a client library or framework that runs this command
repeatedly would needlessly spam pg_stat_statements.

The query jumbling facilities should be used to handle this.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2026-08-28 22:07:30 Re: locale / encoding / meson cleanup
Previous Message Masahiko Sawada 2026-08-28 21:39:54 Re: Should the WAIT FOR command tag be "WAIT" or "WAIT FOR"?