1) TopMemoryContext is sealed, which led to invalid operation error on memory context while trying to modify it for k2pg. Changed to use thread local current memory context t_thrd.mem_cxt.cur_transaction_mem_cxt instead.
2) Change the resource owner error to warning since it should not block the execution at this moment. I will refactor this logic soon.
1) TopMemoryContext is sealed, which led to invalid operation error on memory context while trying to modify it for k2pg. Changed to use thread local current memory context t_thrd.mem_cxt.cur_transaction_mem_cxt instead. 2) Change the resource owner error to warning since it should not block the execution at this moment. I will refactor this logic soon.
The above changes are to unblock current testing.