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-22 23:27:39
Message-ID: CAPpHfduJ8zhpSt=1WDV=B_fsuoujtnWJe4i7ht5BBECGpn92Ug@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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.

------
Regards,
Alexander Korotkov

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2023-12-23 05:37:55 BUG #18257: Failed to build postgres, error occurred during linking
Previous Message Tom Lane 2023-12-21 16:04:16 Re: BUG #18256: spgGetCache() attempts to read to read invalid file for index attached to partitioned table