forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit826ee1a
committed
Make _bt_insertonpg() more like _bt_split().
It seems like a good idea for nbtree's retail insert code to beabsolutely consistent with nbtree's page split code for anything thatnaturally requires equivalent handling. Anything that concernsinserting newitem (which is handled as part of the page split atomicaction when a page split is required) should work in exactly the sameway. With that in mind, make _bt_insertonpg() handle 'cbuf' in a waythat matches _bt_split().1 parentd60cfb6 commit826ee1a
1 file changed
+10
-11
lines changedLines changed: 10 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1266 | 1266 |
| |
1267 | 1267 |
| |
1268 | 1268 |
| |
1269 |
| - | |
1270 |
| - | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
1271 | 1274 |
| |
1272 | 1275 |
| |
1273 | 1276 |
| |
| |||
1305 | 1308 |
| |
1306 | 1309 |
| |
1307 | 1310 |
| |
1308 |
| - | |
1309 |
| - | |
1310 |
| - | |
1311 |
| - | |
1312 |
| - | |
1313 |
| - | |
| 1311 | + | |
1314 | 1312 |
| |
| 1313 | + | |
1315 | 1314 |
| |
1316 | 1315 |
| |
1317 | 1316 |
| |
| |||
1360 | 1359 |
| |
1361 | 1360 |
| |
1362 | 1361 |
| |
1363 |
| - | |
| 1362 | + | |
1364 | 1363 |
| |
1365 | 1364 |
| |
1366 | 1365 |
| |
| |||
1371 | 1370 |
| |
1372 | 1371 |
| |
1373 | 1372 |
| |
1374 |
| - | |
| 1373 | + | |
1375 | 1374 |
| |
1376 | 1375 |
| |
1377 | 1376 |
| |
| |||
1928 | 1927 |
| |
1929 | 1928 |
| |
1930 | 1929 |
| |
1931 |
| - | |
| 1930 | + | |
1932 | 1931 |
| |
1933 | 1932 |
| |
1934 | 1933 |
| |
|
0 commit comments
Comments
(0)