Re: Assert failure in get_baserel_parampathinfo with lateral UNION ALL

From: Richard Guo <guofenglinux(at)gmail(dot)com>
To: wenhui qiu <qiuwenhuifx(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Assert failure in get_baserel_parampathinfo with lateral UNION ALL
Date: 2026-10-05 06:21:19
Message-ID: CAMbWs4951iqhksz+fv26XDZcoxWYuBYFs1RgQFbM64nKS8rE4Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Sep 30, 2026 at 11:47 AM Richard Guo <guofenglinux(at)gmail(dot)com> wrote:
> Good point. I think we should do that. And it seems that commit
> 03107b4ed was sloppy about updating num_base_rels. On master the
> problematic RestrictInfo has stale num_base_rels:

I updated the patch to also update num_base_rels, then pushed and
back-patched it to v16. Thanks for the review.

- Richard

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-10-05 06:25:05 Re: parallel autovacuum: Propagate track_cost_delay_timing to parallel workers
Previous Message David Rowley 2026-10-05 06:06:54 Re: tuplesort_putdatum() does not account for tuple memory