Re: remove_useless_joins vs. bug #19560

From: Richard Guo <guofenglinux(at)gmail(dot)com>
To: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: remove_useless_joins vs. bug #19560
Date: 2026-10-06 02:04:29
Message-ID: CAMbWs4-b7wNE44bazyhiOjO48=yJgvM-Eqw+havk=O3wnRa_7Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Oct 4, 2026 at 3:14 PM Richard Guo <guofenglinux(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Previous Message Greg Burd 2026-10-06 01:58:04 Re: UNDO with constant time recovery (CTR)