Re: An inefficient query caused by unnecessary PlaceHolderVar

From: Richard Guo <guofenglinux(at)gmail(dot)com>
To: Andrei Lepikhov <lepihov(at)gmail(dot)com>
Cc: Dmitry Dolgov <9erthalion6(at)gmail(dot)com>, James Coleman <jtc331(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: An inefficient query caused by unnecessary PlaceHolderVar
Date: 2024-12-09 12:20:16
Message-ID: CAMbWs49n1nfNLN=6SvyE06Ntscsmr7tnND1ffSOT-oaAOTHN7g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Dec 3, 2024 at 5:33 PM Andrei Lepikhov <lepihov(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2024-12-09 12:23:58 Re: Replace current implementations in crypt() and gen_salt() to OpenSSL
Previous Message Richard Guo 2024-12-09 12:17:03 Re: Wrong results with right-semi-joins