mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
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
This commit is contained in:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user