Re: MemoizePath fails to work for partitionwise join - Mailing list pgsql-hackers

From Richard Guo
Subject Re: MemoizePath fails to work for partitionwise join
Date
Msg-id CAMbWs48Gi9RB9E=A6yFAJZfB4A_OA9OWNUPUkzz64edPyeqiJg@mail.gmail.com
Whole thread Raw
In response to Re: MemoizePath fails to work for partitionwise join  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

On Tue, Dec 6, 2022 at 1:42 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
One small problem is that top_parent doesn't exist in the back branches,
so I had to substitute a much uglier lookup in order to make this work
there.  I'm surprised that we got away without top_parent for this long
TBH, but anyway this fix validates the wisdom of 2f17b5701.

So, pushed with some cosmetic adjustments and the modified back-branch
code.
 
Thanks for the modifying and pushing and the back-patching.  I didn't
realize how the fix should look like if without top_parent.  Thanks to
the work in 2f17b5701, it makes life much easier.

Thanks
Richard

pgsql-hackers by date:

Previous
From: Melanie Plageman
Date:
Subject: Re: pg_stat_bgwriter.buffers_backend is pretty meaningless (and more?)
Next
From: Andres Freund
Date:
Subject: Re: Error-safe user functions