Re: [[BUG] pg_stat_statements crashes with var and non-var expressions in IN clause

Sami Imseih <samimseih@gmail.com>

From: Sami Imseih <samimseih@gmail.com>
To: zengman <zengman@halodbtech.com>
Cc: pgsql-hackers <pgsql-hackers@lists.postgresql.org>, Michael Paquier <michael@paquier.xyz>
Date: 2026-01-14T16:36:26Z
Lists: pgsql-hackers

Attachments

Hi,

Thanks for looking!

> Additionally, I noticed that "ars" in the comment of your patch should be "Vars"
> (this seems to be a typo).

oops. Thanks for spotting that. I was not too happy with the original comment
altogether, and changed it to something more concise.

--
Sami Imseih
Amazon Web Services (AWS)

Commits

  1. pg_stat_statements: Fix crash in list squashing with Vars