diff options
-rw-r--r-- | src/backend/executor/execPartition.c | 2 | ||||
-rw-r--r-- | src/backend/replication/logical/worker.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/execPartition.c b/src/backend/executor/execPartition.c index e121c6c8ff5..e41801662b3 100644 --- a/src/backend/executor/execPartition.c +++ b/src/backend/executor/execPartition.c @@ -1009,7 +1009,7 @@ ExecInitPartitionDispatchInfo(PartitionTupleRouting *proute, Oid partoid, tupdesc, gettext_noop("could not convert row type")); pd->tupslot = pd->tupmap ? - MakeSingleTupleTableSlot(tupdesc, &TTSOpsHeapTuple) : NULL; + MakeSingleTupleTableSlot(tupdesc, &TTSOpsVirtual) : NULL; } else { diff --git a/src/backend/replication/logical/worker.c b/src/backend/replication/logical/worker.c index 27934cb4a90..a5e5007e810 100644 --- a/src/backend/replication/logical/worker.c +++ b/src/backend/replication/logical/worker.c @@ -591,7 +591,7 @@ apply_handle_insert(StringInfo s) estate = create_estate_for_relation(rel); remoteslot = ExecInitExtraTupleSlot(estate, RelationGetDescr(rel->localrel), - &TTSOpsHeapTuple); + &TTSOpsVirtual); /* Input functions may need an active snapshot, so get one */ PushActiveSnapshot(GetTransactionSnapshot()); |