summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2019-02-28 13:57:49 -0800
committerAndres Freund <andres@anarazel.de>2019-02-28 14:54:12 -0800
commit253655116bb437d649203a5a87105e885e4b08f9 (patch)
tree9e3b8a7cb686c1e525078b285f501715fc053143
parent8f0577386e68c3b1c83a07b95756e5ee3f4ae73f (diff)
Don't superfluously materialize slot after DELETE from an FDW.
Previously that was needed to safely store the table oid, but after b8d71745eac0a127 that's not necessary anymore. Author: Andres Freund
-rw-r--r--src/backend/executor/nodeModifyTable.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/backend/executor/nodeModifyTable.c b/src/backend/executor/nodeModifyTable.c
index 76175aaa6be..267ecc7c7f7 100644
--- a/src/backend/executor/nodeModifyTable.c
+++ b/src/backend/executor/nodeModifyTable.c
@@ -655,7 +655,6 @@ ExecDelete(ModifyTableState *mtstate,
*/
if (TTS_EMPTY(slot))
ExecStoreAllNullTuple(slot);
- ExecMaterializeSlot(slot);
slot->tts_tableOid = RelationGetRelid(resultRelationDesc);
}