Re: An inefficient query caused by unnecessary PlaceHolderVar - Mailing list pgsql-hackers

From Richard Guo
Subject Re: An inefficient query caused by unnecessary PlaceHolderVar
Date
Msg-id CAMbWs49n1nfNLN=6SvyE06Ntscsmr7tnND1ffSOT-oaAOTHN7g@mail.gmail.com
Whole thread Raw
In response to Re: An inefficient query caused by unnecessary PlaceHolderVar  (Andrei Lepikhov <lepihov@gmail.com>)
List pgsql-hackers
On Tue, Dec 3, 2024 at 5:33 PM Andrei Lepikhov <lepihov@gmail.com> wrote:
> A couple of words about your patch. These few lines of code caused a lot
> of discoveries, but in my opinion, they look fine. But I didn't find
> negative tests, where we need to wrap a Var with PHV like the following:

Pushed after adding two negative tests.  Thank you for your review.

Thanks
Richard



pgsql-hackers by date:

Previous
From: Richard Guo
Date:
Subject: Re: Wrong results with right-semi-joins
Next
From: Heikki Linnakangas
Date:
Subject: Re: Refactoring postmaster's code to cleanup after child exit