model-writtenrun 6367 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Greg Sabino Mullane proposed skipping block writes when stored checksums already match, reporting modified files and blocks, and skipping the final sync when nothing changed, to accelerate repeated or interrupted pg_checksums runs #1; Julien Rouhaud found the patch sensible #2.
- Justin Pryzby questioned whether skipped writes could affect replicas #4; Michael Paquier and Greg explained that this offline tool requires a safely shut-down cluster, unlike the online checksum work behind that concern #5 #6.
- Michael warned that an interrupted earlier run could leave correctly checksummed pages unflushed in the OS cache #3 #7, so Greg restored final syncing whenever do_sync is enabled #8.
- Greg added documentation for selective rewriting #9, then adopted Michael's clarification that checksums belong to relation file blocks #10 #11; they agreed that extra documentation about the existing default sync behavior was unnecessary #12.
- Michael supplied consistent scanned/written counter names and minor cleanup #13, which Greg approved #14.
- Michael committed the final attachment with only a comment-formatting and punctuation edit as 4c9f50d116, crediting Greg as author, and confirmed application in the last message #15; no work remained pending in the thread.