Fix RETURNING core in fdw.

This commit is contained in:
p00451903
2020-09-29 11:00:56 +08:00
committed by TotaJ
parent 8b1aaa44a4
commit 05fd4c8470
3 changed files with 212 additions and 1 deletions

View File

@ -956,6 +956,10 @@ TupleTableSlot* ExecDelete(ItemPointer tupleid, Oid deletePartitionOid, int2 buc
#endif
return NULL;
}
if (slot->tts_isempty) {
(void)ExecStoreAllNullTuple(slot);
}
} else {
/*
* delete the tuple