Re: remove_useless_joins vs. bug #19560 - Mailing list pgsql-hackers

From Richard Guo
Subject Re: remove_useless_joins vs. bug #19560
Date
Msg-id CAMbWs4-b7wNE44bazyhiOjO48=yJgvM-Eqw+havk=O3wnRa_7Q@mail.gmail.com
Whole thread
In response to Re: remove_useless_joins vs. bug #19560  (Richard Guo <guofenglinux@gmail.com>)
List pgsql-hackers
On Sun, Oct 4, 2026 at 3:14 PM Richard Guo <guofenglinux@gmail.com> wrote:
> Skipping PHVs in build_subplan looks right to me.  Any PHV found
> within the arguments of an outer-level Aggref is a pushed-down copy
> that its owning level has already preprocessed, so there is nothing
> left to do in it.  The flag looks ugly though, but I don't have a
> better fix than that.
>
> I plan to push this fix soon if there are no objections.

Done.

- Richard



pgsql-hackers by date:

Previous
From: Greg Burd
Date:
Subject: Re: UNDO with constant time recovery (CTR)
Next
From: shihao zhong
Date:
Subject: [PG19] eager aggregation gives wrong results because of bpchar_ops