Add ExecStorePinnedBufferHeapTuple.
Andres Freund <andres@anarazel.de>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/execTuples.c | modified | +52 −7 |
| src/backend/executor/nodeTidscan.c | modified | +5 −12 |
| src/include/executor/tuptable.h | modified | +3 −0 |
Discussion
- Pluggable Storage - Andres's take 179 messages · 2018-07-03 → 2019-08-17