Commit 25365511 authored by Andres Freund's avatar Andres Freund

Don't superfluously materialize slot after DELETE from an FDW.

Previously that was needed to safely store the table oid, but after
b8d71745 that's not necessary anymore.

Author: Andres Freund
parent 8f057738
...@@ -655,7 +655,6 @@ ExecDelete(ModifyTableState *mtstate, ...@@ -655,7 +655,6 @@ ExecDelete(ModifyTableState *mtstate,
*/ */
if (TTS_EMPTY(slot)) if (TTS_EMPTY(slot))
ExecStoreAllNullTuple(slot); ExecStoreAllNullTuple(slot);
ExecMaterializeSlot(slot);
slot->tts_tableOid = RelationGetRelid(resultRelationDesc); slot->tts_tableOid = RelationGetRelid(resultRelationDesc);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment