Re: Assert failure in get_baserel_parampathinfo with lateral UNION ALL - Mailing list pgsql-hackers

From Richard Guo
Subject Re: Assert failure in get_baserel_parampathinfo with lateral UNION ALL
Date
Msg-id CAMbWs4951iqhksz+fv26XDZcoxWYuBYFs1RgQFbM64nKS8rE4Q@mail.gmail.com
Whole thread
In response to Re: Assert failure in get_baserel_parampathinfo with lateral UNION ALL  (Richard Guo <guofenglinux@gmail.com>)
List pgsql-hackers
On Wed, Sep 30, 2026 at 11:47 AM Richard Guo <guofenglinux@gmail.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



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: tuplesort_putdatum() does not account for tuple memory
Next
From: Michael Paquier
Date:
Subject: Re: parallel autovacuum: Propagate track_cost_delay_timing to parallel workers