Hi Peter,

On Fri, Aug 28, 2026 at 2:48 PM Peter Eisentraut <[email protected]>
wrote:

> 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.
>

+1 to your suggestion. Please find the attached patch to address this issue.

Regards,
Sirisha

Attachment: v1-0001-Jumble-WAIT-FOR-LSN-target.patch
Description: Binary data

Reply via email to