Re: Oversight in reparameterize_path_by_child leading to executor crash - Mailing list pgsql-hackers

From Ashutosh Bapat
Subject Re: Oversight in reparameterize_path_by_child leading to executor crash
Date
Msg-id CAExHW5uPVEuGRRaynmzGZifjVfBvhK6SJk=jLmp+jsy=AbMP6A@mail.gmail.com
Whole thread Raw
In response to Re: Oversight in reparameterize_path_by_child leading to executor crash  (Richard Guo <guofenglinux@gmail.com>)
Responses Re: Oversight in reparameterize_path_by_child leading to executor crash
List pgsql-hackers
On Wed, Aug 9, 2023 at 8:14 AM Richard Guo <guofenglinux@gmail.com> wrote:
>
> With this patch, the reparameterize_path_by_child work is postponed
> until createplan time, so in create_nestloop_path() the inner path is
> still parameterized by top parent.  So we have to check against the top
> parent of outer rel.
>

Your changes in create_nestloop_path() only affect the check for
parameterized path not the unparameterized paths. So I think we are
good there. My worry was misplaced.

--
Best Wishes,
Ashutosh Bapat



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Separate memory contexts for relcache and catcache
Next
From: Christoph Berg
Date:
Subject: Re: Remove distprep