forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf01157e
committed
Further simplify nbtree high key truncation.
Commit7c2dbc6 reorganized _bt_truncate() in a way that enables afurther simplification that I (pgeoghegan) missed: Since we mark thetuple that is returned to the caller as a pivot tuple before the pointwhere its heap TID is set as of7c2dbc6, it is possible to use the highlevel BTreeTupleGetHeapTID() inline function to get an item pointer. Doit that way now. This approach is clearer and more maintainable.1 parentdd9ac7d commitf01157e
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2251 | 2251 |
| |
2252 | 2252 |
| |
2253 | 2253 |
| |
| 2254 | + | |
2254 | 2255 |
| |
2255 | 2256 |
| |
2256 | 2257 |
| |
| |||
2259 | 2260 |
| |
2260 | 2261 |
| |
2261 | 2262 |
| |
2262 |
| - | |
2263 |
| - | |
2264 | 2263 |
| |
2265 | 2264 |
| |
2266 | 2265 |
| |
|
0 commit comments
Comments
(0)