Re: pg_stat_statements stores WITH HOLD cursor query with literals

From: Sami Imseih <samimseih(dot)pg(at)gmail(dot)com>
To: Gaurav Singh <gaurav(dot)singh(at)yugabyte(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: pg_stat_statements stores WITH HOLD cursor query with literals
Date: 2026-10-14 02:02:47
Message-ID: CAN12+YL7jf5_04Lme1Qaf2=_JuMAKAoCQiSY7-4__Svfc4igBA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> v1 is a sketch of that without any tests yet. I will add if there is
> agreement on
> this being the way forward. This seems like the most straightforward way.
> Maybe others have a different idea.

Attached v2 is cleaned up with a test.

--
Sami Imseih
Amazon Web Services (AWS)

Attachment Content-Type Size
v2-0001-pg_stat_statements-Fix-toplevel-tracking-across-n.patch application/octet-stream 8.8 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message shihao zhong 2026-10-14 03:20:47 Re: PostgreSQL 18.6/17.11: standby PANIC on restart after VM truncation
Previous Message Sami Imseih 2026-10-13 21:05:23 Re: pg_stat_statements stores WITH HOLD cursor query with literals