Re: pgsql: Ignore PlaceHolderVars when looking up statistics

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Richard Guo <rguo(at)postgresql(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pgsql: Ignore PlaceHolderVars when looking up statistics
Date: 2026-01-02 23:32:40
Message-ID: CA+TgmoY0FRywF-MfQKuMJ4cpOBmNjHF9A89Vq=UuGCxv4QRSVQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Fri, Jan 2, 2026 at 4:20 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> It's a regression if we don't. See nearby complaint at
>
> https://www.postgresql.org/message-id/flat/b75866aa-bb54-456b-8f88-6b5bc52064ca%40app.fastmail.com
>
> That case was correctly handled in v17 and before.

Oh, OK. Probably makes sense then, since v18 is new.

--
Robert Haas
EDB: http://www.enterprisedb.com

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2026-01-03 22:18:45 pgsql: Improve a couple of error messages.
Previous Message Tom Lane 2026-01-02 21:20:41 Re: pgsql: Ignore PlaceHolderVars when looking up statistics

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Karlsson 2026-01-02 23:38:10 Re: Parallelizing startup with many databases
Previous Message Jelte Fennema-Nio 2026-01-02 23:23:37 Re: remove pg_restrict workaround