mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-28 00:21:50 +02:00
Don't superfluously materialize slot after DELETE from an FDW.
Previously that was needed to safely store the table oid, but after
b8d71745ea
that's not necessary anymore.
Author: Andres Freund
This commit is contained in:
parent
8f0577386e
commit
253655116b
@ -655,7 +655,6 @@ ExecDelete(ModifyTableState *mtstate,
|
||||
*/
|
||||
if (TTS_EMPTY(slot))
|
||||
ExecStoreAllNullTuple(slot);
|
||||
ExecMaterializeSlot(slot);
|
||||
|
||||
slot->tts_tableOid = RelationGetRelid(resultRelationDesc);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user