From: Andres Freund Date: Thu, 28 Feb 2019 21:57:49 +0000 (-0800) Subject: Don't superfluously materialize slot after DELETE from an FDW. X-Git-Tag: REL_12_BETA1~645 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=253655116bb437d649203a5a87105e885e4b08f9;p=postgresql 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 --- 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); }