On Thu, Nov 5, 2026 at 4:50 PM Chao Li <[email protected]> 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.

Regards,


-- 
Fujii Masao

Attachment: v2-0001-file_fdw-Fix-ANALYZE-crashes-with-DEFAULT-markers.patch
Description: Binary data

Reply via email to