Fix bogus Asserts in calc_non_nestloop_required_outer - Mailing list pgsql-hackers

From Richard Guo
Subject Fix bogus Asserts in calc_non_nestloop_required_outer
Date
Msg-id CAMbWs49sqbe9GBZ8sy8dSfKRNURgicR85HX8vgzcgQsPF0XY1w@mail.gmail.com
Whole thread Raw
Responses Re: Fix bogus Asserts in calc_non_nestloop_required_outer
List pgsql-hackers
As stated in [1], all paths arriving here are parameterized by top
parents, so we should check against top_parent_relids if it exists in
the two Asserts.

Attached is a patch fixing that.

[1] https://www.postgresql.org/message-id/CAMbWs4_UoVcCwkVMfi9TjSC%3Do5U6BRHUNZiVhrvSbDfU2HaeDA%40mail.gmail.com

Thanks
Richard
Attachment

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Use of additional index columns in rows filtering
Next
From: Peter Smith
Date:
Subject: Re: [PATCH] Reuse Workers and Replication Slots during Logical Replication