forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit06b10f8
committed
Remove BTScanOpaqueData.firstPage
It's not necessary to keep the firstPage flag as a field of BTScanOpaqueData.This commit makes it an argument of the _bt_readpage() function. We can easilydistinguish first-time and repeated calls (within the scan) of this function.Reported-by: Peter GeogheganDiscussion:https://postgr.es/m/CAH2-Wzk4SOsw%2BtHuTFiz8U9Jqj-R77rYPkhWKODCBb1mdHACXA%40mail.gmail.comReviewed-by: Pavel Borisov1 parent3e527ae commit06b10f8
File tree
3 files changed
+8
-14
lines changed- src
- backend/access/nbtree
- include/access
3 files changed
+8
-14
lines changedLines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
409 | 409 |
| |
410 | 410 |
| |
411 | 411 |
| |
412 |
| - | |
413 | 412 |
| |
414 | 413 |
| |
415 | 414 |
| |
|
Lines changed: 8 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| |||
1395 | 1395 |
| |
1396 | 1396 |
| |
1397 | 1397 |
| |
1398 |
| - | |
1399 | 1398 |
| |
1400 | 1399 |
| |
1401 | 1400 |
| |
| |||
1416 | 1415 |
| |
1417 | 1416 |
| |
1418 | 1417 |
| |
1419 |
| - | |
| 1418 | + | |
1420 | 1419 |
| |
1421 | 1420 |
| |
1422 | 1421 |
| |
| |||
1520 | 1519 |
| |
1521 | 1520 |
| |
1522 | 1521 |
| |
1523 |
| - | |
| 1522 | + | |
| 1523 | + | |
1524 | 1524 |
| |
1525 | 1525 |
| |
1526 | 1526 |
| |
| |||
1601 | 1601 |
| |
1602 | 1602 |
| |
1603 | 1603 |
| |
1604 |
| - | |
| 1604 | + | |
1605 | 1605 |
| |
1606 | 1606 |
| |
1607 | 1607 |
| |
| |||
1620 | 1620 |
| |
1621 | 1621 |
| |
1622 | 1622 |
| |
1623 |
| - | |
1624 | 1623 |
| |
1625 | 1624 |
| |
1626 | 1625 |
| |
| |||
2079 | 2078 |
| |
2080 | 2079 |
| |
2081 | 2080 |
| |
2082 |
| - | |
| 2081 | + | |
2083 | 2082 |
| |
2084 | 2083 |
| |
2085 | 2084 |
| |
| |||
2170 | 2169 |
| |
2171 | 2170 |
| |
2172 | 2171 |
| |
2173 |
| - | |
| 2172 | + | |
2174 | 2173 |
| |
2175 | 2174 |
| |
2176 | 2175 |
| |
| |||
2487 | 2486 |
| |
2488 | 2487 |
| |
2489 | 2488 |
| |
2490 |
| - | |
2491 | 2489 |
| |
2492 | 2490 |
| |
2493 | 2491 |
| |
2494 | 2492 |
| |
2495 | 2493 |
| |
2496 | 2494 |
| |
2497 |
| - | |
| 2495 | + | |
2498 | 2496 |
| |
2499 | 2497 |
| |
2500 | 2498 |
| |
|
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1051 | 1051 |
| |
1052 | 1052 |
| |
1053 | 1053 |
| |
1054 |
| - | |
1055 |
| - | |
1056 |
| - | |
1057 | 1054 |
| |
1058 | 1055 |
| |
1059 | 1056 |
| |
|
0 commit comments
Comments
(0)