Re: pgsql: Ignore PlaceHolderVars when looking up statistics - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pgsql: Ignore PlaceHolderVars when looking up statistics
Date
Msg-id CA+Tgmobgfvw4w9javDG_aR3EqQC9AYssWcuns7-m4qLx1AyG=w@mail.gmail.com
Whole thread Raw
Responses Re: pgsql: Ignore PlaceHolderVars when looking up statistics
List pgsql-hackers
On Sun, Dec 28, 2025 at 9:45 PM Richard Guo <rguo@postgresql.org> wrote:
> Ignore PlaceHolderVars when looking up statistics
>
> Back-patch to v18.  Although this issue exists before that, changes in
> this version made it common enough to notice.  Given the lack of field
> reports for older versions, I am not back-patching further.

Generally we don't back-patch fixes that could change plans, because
it tends to produce user complaints. It's maybe more justifiable in
this case because v18 is quite new and you didn't back-patch to older
releases, but are we sure that it's warranted even there?

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



pgsql-hackers by date:

Previous
From: "Matheus Alcantara"
Date:
Subject: Re: postgres_fdw: Use COPY to speed up batch inserts
Next
From: Matheus Alcantara
Date:
Subject: Re: confusing results from pg_get_replication_slots()