Re: Assert failure in try_nestloop_path()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Richard Guo <guofenglinux(at)gmail(dot)com>
Cc: Tender Wang <tndrwang(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Assert failure in try_nestloop_path()
Date: 2026-09-08 14:45:56
Message-ID: 517166.1788878756@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Richard Guo <guofenglinux(at)gmail(dot)com> writes:
> On Tue, Sep 8, 2026 at 11:08 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Also, why is the last code hunk in get_joinrel_parampathinfo
>> commented out?

> Because without your drop-redundant-equivalence-clauses patch the
> clause-recovery pass for dropped ECs re-adds a clause and trips that
> Assert (the cardinal_number query). It needs to be un-commented once
> your fix gets applied.

Ah. Do you want to just merge those patches and push them as one?
I think we want HEAD-and-19-only for all these changes.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Previous Message Richard Guo 2026-09-08 14:43:02 Re: Assert failure in try_nestloop_path()