pgsql: Add ExecCopySlotMinimalTupleExtra(). - Mailing list pgsql-committers

From Jeff Davis
Subject pgsql: Add ExecCopySlotMinimalTupleExtra().
Date
Msg-id E1twwUv-000s4E-2n@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add ExecCopySlotMinimalTupleExtra().

Allows an "extra" argument that allocates extra memory at the end of
the MinimalTuple. This is important for callers that need to store
additional data, but do not want to perform an additional allocation.

Suggested-by: David Rowley <dgrowleyml@gmail.com>
Discussion: https://postgr.es/m/CAApHDvppeqw2pNM-+ahBOJwq2QmC0hOAGsmCpC89QVmEoOvsdg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a0942f441ed651f6345d969b7a8f4774eda1fceb

Modified Files
--------------
src/backend/access/common/heaptuple.c      | 27 +++++++++++++++++++++------
src/backend/executor/execTuples.c          | 24 +++++++++++++-----------
src/backend/executor/nodeGatherMerge.c     |  2 +-
src/backend/utils/sort/tuplesortvariants.c |  2 +-
src/backend/utils/sort/tuplestore.c        |  6 +++---
src/include/access/htup_details.h          |  7 ++++---
src/include/executor/tuptable.h            | 20 ++++++++++++++++++--
7 files changed, 61 insertions(+), 27 deletions(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Fix the typo in the test case added in 73eba5004a.
Next
From: Michael Paquier
Date:
Subject: pgsql: Add support for custom_query_jumble as a node field attribute