pgsql: Fix unfairness in all-cached parallel seq scan.

2024-08-30 Thread Thomas Munro
Fix unfairness in all-cached parallel seq scan. Commit b5a9b18c introduced block streaming infrastructure with a special fast path for all-cached scans, and commit b7b0f3f2 connected the infrastructure up to sequential scans. One of the fast path micro-optimizations had an unintended consequence:

pgsql: Fix unfairness in all-cached parallel seq scan.

2024-08-30 Thread Thomas Munro
Fix unfairness in all-cached parallel seq scan. Commit b5a9b18c introduced block streaming infrastructure with a special fast path for all-cached scans, and commit b7b0f3f2 connected the infrastructure up to sequential scans. One of the fast path micro-optimizations had an unintended consequence: