From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add ExecStorePinnedBufferHeapTuple.
Date: Wed, 27 Feb 2019 02:07:11 +0000
Message-ID: <E1gyocp-0001Xt-82@gemulon.postgresql.org> (raw)
Add ExecStorePinnedBufferHeapTuple.
This allows to avoid an unnecessary pin/unpin cycle when storing a
tuple in an already pinned buffer into a slot, when the pin isn't
further needed at the call site.
Only a single caller for now (to ensure coverage), but upcoming
patches will increase use of the new function.
Author: Andres Freund
Discussion: https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/8aa02b52db11039925191912eca71e3584b68860
Modified Files
--------------
src/backend/executor/execTuples.c | 59 +++++++++++++++++++++++++++++++++-----
src/backend/executor/nodeTidscan.c | 17 ++++-------
src/include/executor/tuptable.h | 3 ++
3 files changed, 60 insertions(+), 19 deletions(-)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de
Subject: Re: pgsql: Add ExecStorePinnedBufferHeapTuple.
In-Reply-To: <E1gyocp-0001Xt-82@gemulon.postgresql.org>
References: <E1gyocp-0001Xt-82@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox