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

From Richard Guo
Subject Re: pgsql: Ignore PlaceHolderVars when looking up statistics
Date
Msg-id CAMbWs48T3yV--m+KLszRhG1UK7acXMX9Y_UYPNt0k35oPdoZ2A@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Ignore PlaceHolderVars when looking up statistics  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sat, Jan 3, 2026 at 6:20 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
> > 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?

> It's a regression if we don't.

That's right.  I was actually of two minds for a while regarding the
back-patch, but in the end decided to proceed.  You can find the
discussions and the reasoning behind this decision in the link below.

https://postgr.es/m/CAMbWs49h5F66KZwLxaeXoLwHe_9jAB7Eu44UmJhhQpLA38tKhw@mail.gmail.com

- Richard



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Typos in the code and README
Next
From: Alastair Turner
Date:
Subject: Proposal - Enabling btree_gist by default