Re: BUG #18187: Unexpected error: "variable not found in subplan target lists" triggered by JOIN

From: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
To: Richard Guo <guofenglinux(at)gmail(dot)com>
Cc: Andrei Lepikhov <a(dot)lepikhov(at)postgrespro(dot)ru>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, zuming(dot)jiang(at)inf(dot)ethz(dot)ch, pgsql-bugs(at)lists(dot)postgresql(dot)org, PG Bug reporting form <noreply(at)postgresql(dot)org>
Subject: Re: BUG #18187: Unexpected error: "variable not found in subplan target lists" triggered by JOIN
Date: 2023-12-24 23:37:50
Message-ID: CAPpHfdsPSV+c73UQyE2hZ1dEkhi6JPmNgO3Pa=TH+vpB_pmxYA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sat, Dec 23, 2023 at 1:27 AM Alexander Korotkov <aekorotkov(at)gmail(dot)com> wrote:
> On Tue, Dec 12, 2023 at 8:41 AM Richard Guo <guofenglinux(at)gmail(dot)com> wrote:
> > On Thu, Dec 7, 2023 at 10:55 AM Andrei Lepikhov <a(dot)lepikhov(at)postgrespro(dot)ru> wrote:
> >> According to the patches:
> >> 0001 - looks good for me.
> >> 0002 - I don't understand why to use 'explain' in VERBOSE mode in tests.
> >> What do you try to detect here?
> >
> > The VERBOSE mode is used to observe that PHVs are adjusted correctly and
> > put in the right targetlist.
> >
> >> 0003 - ok, but too short. Maybe squash all these patches into one?
> >
> > It seems to me that these three patches are addressing separate issues
> > and are independent of each other. For instance, the issue addressed by
> > 0001 exists on master even without other changes, and 0002 is an
> > improvement that does not depend on others, while 0003 is a fix of an
> > incorrect comment. I don't think it's a good idea to squash them into
> > one.
> >
> >> I think these corrections are good enough for commit.
> >
> > Thank you for reviewing these patches. Alexander, what are your
> > thoughts on these patches?
>
> Looks good to me. I'm going to push this if there are no objections.

Pushed! Thanks to all the participants.

------
Regards,
Alexander Korotkov

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2023-12-25 00:52:53 Re: BUG #18240: Undefined behaviour in cash_mul_flt8() and friends
Previous Message Tom Lane 2023-12-24 18:21:15 Re: BUG #18240: Undefined behaviour in cash_mul_flt8() and friends