model-writtenrun 7213 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Konstantin Knizhnik reported that small shared_buffers settings caused cluster and portals regression failures because synchronized scans changed row order, and questioned starting scans away from the first page without concurrent queries #1.
- Tom Lane initially considered configuration-dependent test failures tolerable and warned of races in changing scan-start behavior #2; Thomas Munro discussed explicit physical ordering #3, while Tom explained that ordering every test would reduce plan coverage and called for investigating chipmunk's failures at 10 MB, with disabling syncscan in affected tests as a possible workaround #4.
- Heikki Linnakangas traced the failures to a refactoring that accidentally moved syncscan position reporting after end-of-scan checks, and attached a patch restoring the original order in heapgettup_advance_block() #5.
- David Rowley verified the older behavior and endorsed applying and backpatching the fix #6, and Melanie Plageman acknowledged the mistake and approved the patch #7.
- After confirming that tests passed at 20 MB, Heikki restored chipmunk's 10 MB setting to retain coverage #8 and committed the attached syncscan fix unchanged as e8d74ad625, announcing the push in #9.
- Tom then reported that chipmunk passed the core tests but failed pg_visibility because the COPY FREEZE test produced an extra page, reproducing the failure with shared_buffers set to 10 MB #10.
- Heikki traced this separate failure to bulk-extension heuristics interacting with buffer-pin limits, judged the behavior valid, and considered alternative expected output, filtering the query, changing extension logic, or copying fewer rows #11.
- Tom favored limiting extension of small tables to avoid wasted space #12, while Andres Freund discussed filtering trailing empty pages and improving pin-limit accounting #13; Heikki clarified that he favored the smaller test input and attached a patch reducing the expected table to two pages #14.
- After months without a resolution, Tom reported continued failures and explicitly endorsed Heikki's test adjustment #15; Andres committed it unchanged as 3a4837fc80 and announced the push in the final message #16, leaving both submitted fixes landed and the broader extension changes unimplemented in this thread.