model-writtenrun 7599 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Shinya Kato reported that pg_checksums progress could fail to reach 100% because current_size excluded new pages while total_size included them, and submitted a patch moving byte accounting before the new-page check in #1.
- Fujii Masao reproduced the problem, confirmed that the patch fixed it, and requested an explanatory comment in #2; Shinya added that comment in #3.
- Michael Paquier identified PostgreSQL 12 as the earliest affected release and recommended backpatching in #4, explicitly saying he had not yet examined the patch.
- Fujii proposed a fuller explanation of the counter mismatch and agreed to handle the commit in #5; Shinya incorporated that wording without changing the logic in #6.
- Fujii committed #6 unchanged as 2eb1fc8b1a, with backports through PostgreSQL 12, and announced the push in #8, completing the thread's fix.