Add a new tuplestore API function, tuplestore_putvalues(). This is
Neil Conway <neilc@samurai.com>
Add a new tuplestore API function, tuplestore_putvalues(). This is identical to tuplestore_puttuple(), except it operates on arrays of Datums + nulls rather than a fully-formed HeapTuple. In several places that use the tuplestore API, this means we can avoid creating a HeapTuple altogether, saving a copy.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/prepare.c | modified | +2 −5 |
| src/backend/executor/execQual.c | modified | +7 −10 |
| src/backend/utils/mmgr/portalmem.c | modified | +2 −5 |
| src/backend/utils/sort/tuplestore.c | modified | +17 −3 |
| src/include/utils/tuplestore.h | modified | +3 −1 |
| src/pl/plperl/plperl.c | modified | +14 −8 |
| src/pl/plpgsql/src/pl_exec.c | modified | +14 −15 |