aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2019-03-01 17:24:57 -0800
committerAndres Freund <andres@anarazel.de>2019-03-01 17:26:43 -0800
commit70b9bda65f8174e24eef5d8967705485a314a82e (patch)
tree914c3eeaed40671cbc95ae187419e35a95402493 /src/backend/executor
parent3396138a6de329fa7b5e0dda79219b4ae82622dc (diff)
downloadpostgresql-70b9bda65f8174e24eef5d8967705485a314a82e.tar.gz
postgresql-70b9bda65f8174e24eef5d8967705485a314a82e.zip
Use a virtual rather than a heap slot in two places where that suffices.
Author: Andres Freund Discussion: https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de
Diffstat (limited to 'src/backend/executor')
-rw-r--r--src/backend/executor/execPartition.c2
1 files changed, 1 insertions, 1 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
{