Fix merge with concurrent update/delete bug.
This commit is contained in:
totaj
2023-07-11 20:22:22 +08:00
committed by pengjiong
parent 2db7c5889d
commit d3415baa18
11 changed files with 429 additions and 33 deletions

View File

@ -46,7 +46,7 @@ extern TupleTableSlot* ExecDelete(ItemPointer tupleid, Oid deletePartitionOid, i
extern TupleTableSlot* ExecUpdate(ItemPointer tupleid, Oid oldPartitionOid, int2 bucketid, HeapTupleHeader oldtuple,
TupleTableSlot* slot, TupleTableSlot* planSlot, EPQState* epqstate, ModifyTableState* node, bool canSetTag,
bool partKeyUpdate, char* partExprKeyStr = NULL);
bool partKeyUpdate, TM_Result* out_result, char* partExprKeyStr = NULL);
template <bool useHeapMultiInsert>
extern TupleTableSlot* ExecInsertT(ModifyTableState* state, TupleTableSlot* slot, TupleTableSlot* planSlot,