From 253655116bb437d649203a5a87105e885e4b08f9 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Thu, 28 Feb 2019 13:57:49 -0800 Subject: [PATCH] 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 --- src/backend/executor/nodeModifyTable.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/executor/nodeModifyTable.c b/src/backend/executor/nodeModifyTable.c index 76175aaa6b..267ecc7c7f 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); } -- 2.40.0