model-writtenrun 9506 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Korotkov opened the thread with a commit announcement raising vacuum_cleanup_index_scale_factor's upper bound from 100 to DBL_MAX, allowing advanced users effectively to disable cleanup scans when no deleted pages require them #1.
- Alexander found the resulting boundary diagnostic unwieldy and posted a patch switching real reloption bounds from %f to %g, with corresponding regression updates #2 #3.
- Tom Lane objected that plain %g loses precision and that DBL_MAX introduces an unjustified platform-dependent limit; he recommended a fixed large bound instead #4.
- With buildfarm failures appearing, Alexander replaced the formatting proposal with a 1e10 limit for both the GUC and reloption, updating documentation and expected output; this patch landed unchanged as 4d54543efa #5.
- Nearly ten months later, Piotr Stefaniak reported that UBSan detected division by zero in the cleanup calculation and supplied a patch that skips that calculation when the previous heap tuple count is zero #6.
- Alexander revised the fix to treat a zero previous tuple count as requiring cleanup, using <= 0 to short-circuit the division, and Masahiko Sawada approved that version #7 #8.
- The revised division guard landed unchanged as 1e87198182 with a backpatch through PostgreSQL 11; Alexander's final message confirmed the push, leaving no outstanding fix in the thread #9.