On 05/11/2026 09:54, Fujii Masao wrote:
> On Thu, Nov 5, 2026 at 4:50 PM Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com> wrote:
>> So, if we use ResetPerTupleExprContext(estate), then
>> MemoryContextSwitchTo(econtext->ecxt_per_tuple_memory); should be
>> changed accordingly. I think Ayoub commented the same thing.
> Agreed. I've updated the patch to use ResetPerTupleExprContext(estate)
> and MemoryContextSwitchTo(GetPerTupleMemoryContext(estate)). Attached.
Looks good.
Regards,
Ayoub Kazar