From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add ExecStorePinnedBufferHeapTuple. |
Date: | 2019-02-27 02:07:11 |
Message-ID: | E1gyocp-0001Xt-82@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2019-02-27 04:05:49 | Re: pgsql: Avoid creation of the free space map for small heap relations, t |
Previous Message | Robert Haas | 2019-02-26 17:24:39 | pgsql: Change lock acquisition order in expand_inherited_rtentry. |