- Notifications
You must be signed in to change notification settings - Fork28
Commit90525d7
committed
Don't duplicate parallel seqscan shmem sizing logic in nbtree.
This is architecturally mildly problematic, which becomes morepronounced with the upcoming introduction of pluggable storage.To fix, teach heap_parallelscan_estimate() to deal with SnapshotAnysnapshots, and then use it from _bt_parallel_estimate_shared().Author: Andres FreundDiscussion:https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de1 parent285d8e1 commit90525d7
2 files changed
+11
-12
lines changedLines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1615 | 1615 |
| |
1616 | 1616 |
| |
1617 | 1617 |
| |
1618 |
| - | |
1619 |
| - | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
1620 | 1626 |
| |
1621 | 1627 |
| |
1622 | 1628 |
| |
|
Lines changed: 3 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
158 | 158 |
| |
159 | 159 |
| |
160 | 160 |
| |
161 |
| - | |
| 161 | + | |
162 | 162 |
| |
163 | 163 |
| |
164 | 164 |
| |
| |||
1405 | 1405 |
| |
1406 | 1406 |
| |
1407 | 1407 |
| |
1408 |
| - | |
1409 |
| - | |
1410 |
| - | |
1411 |
| - | |
1412 |
| - | |
1413 |
| - | |
1414 |
| - | |
1415 |
| - | |
1416 |
| - | |
| 1408 | + | |
| 1409 | + | |
1417 | 1410 |
| |
1418 | 1411 |
| |
1419 | 1412 |
| |
|
0 commit comments
Comments
(0)