Fix mem leak when commit in procedure.

This commit is contained in:
totaj
2023-06-03 14:17:04 +08:00
parent a0cdcbcd27
commit bc81562b4b
5 changed files with 282 additions and 32 deletions

View File

@ -552,7 +552,7 @@ extern void end_tup_output(TupOutputState* tstate);
/*
* prototypes from functions in execUtils.c
*/
extern EState* CreateExecutorState(MemoryContext saveCxt = NULL);
extern EState* CreateExecutorState();
extern void FreeExecutorState(EState* estate);
extern ExprContext* CreateExprContext(EState* estate);
extern ExprContext* CreateStandaloneExprContext(void);