fix upsert core and cross-partition upsert

This commit is contained in:
gentle_hu
2021-07-06 14:13:00 +08:00
parent d9dc69168f
commit 4d2c0d708e
14 changed files with 48 additions and 6 deletions

View File

@ -533,7 +533,7 @@ checktest:
*returning = ExecUpdate(conflictTid, oldPartitionOid, bucketid, NULL,
upsertState->us_updateproj, planSlot, &mtstate->mt_epqstate,
mtstate, canSetTag, false);
mtstate, canSetTag, ((ModifyTable*)mtstate->ps.plan)->partKeyUpsert);
ReleaseBuffer(buffer);
return true;
}