> On Nov 5, 2026, at 18:55, Ayoub Kazar <ayoub(dot)kazar(at)data-bene(dot)io> wrote:
>
>
> 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.
+1
Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/