forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit426ea61
committed
nbtree: Make BTMaxItemSize into object-like macro.
Make nbtree's "1/3 of a page limit" BTMaxItemSize function-like macro(which accepts a "page" argument) into an object-like macro that can beused from code that doesn't have convenient access to an nbtree page.Preparation for an upcoming patch that adds skip scan to nbtree.Parallel index scans that use skip scan will serialize datums (not justSAOP array subscripts) when scheduling primitive scans. BTMaxItemSizewill be used by btestimateparallelscan to determine how much DSM torequest.Author: Peter Geoghegan <pg@bowt.ie>Discussion:https://postgr.es/m/CAH2-Wz=H_RG5weNGeUG_TkK87tRBnH9mGCQj6WpM4V4FNWKv2g@mail.gmail.com1 parent0fbceae commit426ea61
File tree
7 files changed
+15
-17
lines changed- contrib/amcheck
- src
- backend/access/nbtree
- include/access
7 files changed
+15
-17
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1597 | 1597 |
| |
1598 | 1598 |
| |
1599 | 1599 |
| |
1600 |
| - | |
1601 |
| - | |
| 1600 | + | |
1602 | 1601 |
| |
1603 | 1602 |
| |
1604 | 1603 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
87 |
| - | |
| 87 | + | |
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
| |||
568 | 568 |
| |
569 | 569 |
| |
570 | 570 |
| |
571 |
| - | |
| 571 | + | |
572 | 572 |
| |
573 | 573 |
| |
574 | 574 |
| |
| |||
588 | 588 |
| |
589 | 589 |
| |
590 | 590 |
| |
591 |
| - | |
| 591 | + | |
592 | 592 |
| |
593 | 593 |
| |
594 | 594 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
827 | 827 |
| |
828 | 828 |
| |
829 | 829 |
| |
830 |
| - | |
| 830 | + | |
831 | 831 |
| |
832 | 832 |
| |
833 | 833 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
829 | 829 |
| |
830 | 830 |
| |
831 | 831 |
| |
832 |
| - | |
| 832 | + | |
833 | 833 |
| |
834 | 834 |
| |
835 | 835 |
| |
| |||
1305 | 1305 |
| |
1306 | 1306 |
| |
1307 | 1307 |
| |
1308 |
| - | |
| 1308 | + | |
1309 | 1309 |
| |
1310 | 1310 |
| |
1311 | 1311 |
| |
|
Lines changed: 3 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3245 | 3245 |
| |
3246 | 3246 |
| |
3247 | 3247 |
| |
3248 |
| - | |
| 3248 | + | |
3249 | 3249 |
| |
3250 | 3250 |
| |
3251 | 3251 |
| |
3252 | 3252 |
| |
3253 | 3253 |
| |
3254 | 3254 |
| |
3255 | 3255 |
| |
3256 |
| - | |
| 3256 | + | |
3257 | 3257 |
| |
3258 | 3258 |
| |
3259 | 3259 |
| |
| |||
3270 | 3270 |
| |
3271 | 3271 |
| |
3272 | 3272 |
| |
3273 |
| - | |
3274 |
| - | |
| 3273 | + | |
3275 | 3274 |
| |
3276 | 3275 |
| |
3277 | 3276 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
483 | 483 |
| |
484 | 484 |
| |
485 | 485 |
| |
486 |
| - | |
| 486 | + | |
487 | 487 |
| |
488 | 488 |
| |
489 | 489 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
161 | 161 |
| |
162 | 162 |
| |
163 | 163 |
| |
164 |
| - | |
165 |
| - | |
| 164 | + | |
| 165 | + | |
166 | 166 |
| |
167 | 167 |
| |
168 | 168 |
| |
169 |
| - | |
170 |
| - | |
| 169 | + | |
| 170 | + | |
171 | 171 |
| |
172 | 172 |
| |
173 | 173 |
| |
|
0 commit comments
Comments
(0)