Don't duplicate parallel seqscan shmem sizing logic in nbtree.
Andres Freund <andres@anarazel.de>
Don't duplicate parallel seqscan shmem sizing logic in nbtree. This is architecturally mildly problematic, which becomes more pronounced with the upcoming introduction of pluggable storage. To fix, teach heap_parallelscan_estimate() to deal with SnapshotAny snapshots, and then use it from _bt_parallel_estimate_shared(). Author: Andres Freund Discussion: https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/heapam.c | modified | +8 −2 |
| src/backend/access/nbtree/nbtsort.c | modified | +3 −10 |
Discussion
- Pluggable Storage - Andres's take 179 messages · 2018-07-03 → 2019-08-17