Re: [[BUG] pg_stat_statements crashes with var and non-var expressions in IN clause
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Dmitry Dolgov <9erthalion6@gmail.com>
Cc: Sami Imseih <samimseih@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-01-19T23:12:15Z
Lists: pgsql-hackers
On Mon, Jan 19, 2026 at 10:24:41AM +0100, Dmitry Dolgov wrote: > Yep, I concur the current approach is fine. What I was saying about > adjusting newa->list_end is just an ideal and at the moment only > hypothetical scenario, where we could deduce end location of the new > list based on its nested elements. Currently there are no mechanism to > achieve that, so maybe in the future. Okay, applied that down to v18 after a second lookup and a tweak to the proposed comment. -- Michael
Commits
-
pg_stat_statements: Fix crash in list squashing with Vars
- 3304e97b1b73 18.2 landed
- 5d95219faa1a 19 (unreleased) landed