projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f05773
)
Don't superfluously materialize slot after DELETE from an FDW.
author
Andres Freund
<
[email protected]
>
Thu, 28 Feb 2019 21:57:49 +0000
(13:57 -0800)
committer
Andres Freund
<
[email protected]
>
Thu, 28 Feb 2019 22:54:12 +0000
(14:54 -0800)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/executor/nodeModifyTable.c
b/src/backend/executor/nodeModifyTable.c
index 76175aaa6bed21b496d9fcb4189d1314d43a4ee3..267ecc7c7f769c765e7c8e8b467bb95c137ad643 100644
(file)
--- 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);
}