forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5408e23
committed
Allow to use HeapTupleData embedded in [Buffer]HeapTupleTableSlot.
That avoids having to care about the lifetime of theHeapTupleHeaderData passed to ExecStore[Buffer]HeapTuple(). Thatdoesn't make a huge difference for a plain HeapTupleTableSlot, but forBufferHeapTupleTableSlot it can be a significant advantage, avoidingthe need to materialize slots where it's inconvenient to provide aHeapTupleData with appropriate lifetime to point to the on-disk tuple.It's quite possible that we'll want to add support functions forconstructing HeapTuples using that embedded HeapTupleData, but for nowcallers do so themselves.Author: Andres FreundDiscussion:https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de1 parent8aa02b5 commit5408e23
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| |||
246 | 247 |
| |
247 | 248 |
| |
248 | 249 |
| |
| 250 | + | |
249 | 251 |
| |
250 | 252 |
| |
251 | 253 |
| |
|
0 commit comments
Comments
(0)