public inbox for [email protected]
help / color / mirror / Atom feedFrom: Jeff Davis <[email protected]>
To: [email protected]
Subject: pgsql: Add ExecCopySlotMinimalTupleExtra().
Date: Tue, 25 Mar 2025 05:06:46 +0000
Message-ID: <[email protected]> (raw)
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 <[email protected]>
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(-)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: pgsql: Add ExecCopySlotMinimalTupleExtra().
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox