forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbdadc9b
committed
Remove RelationGetBufferWithBuffer(), which is horribly confused about
appropriate pin-count manipulation, and instead use ReleaseAndReadBuffer.Make use of the fact that the passed-in buffer (if there is one) mustbe pinned to avoid grabbing the bufmgr spinlock when we are able toreturn this same buffer. Eliminate unnecessary 'previous tuple' and'next tuple' fields of HeapScanDesc and IndexScanDesc, thereby removinga whole lot of bookkeeping from heap_getnext() and related routines.1 parent3247989 commitbdadc9b
9 files changed
+138
-551
lines changedLines changed: 1 addition & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
83 | 83 |
| |
84 | 84 |
| |
85 | 85 |
| |
86 |
| - | |
87 |
| - | |
88 | 86 |
| |
89 |
| - | |
90 |
| - | |
91 | 87 |
| |
92 |
| - | |
93 | 88 |
| |
94 | 89 |
| |
95 | 90 |
| |
|
0 commit comments
Comments
(0)