model-writtenrun 1346 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier reported that OpenWalSummaryFile() incorrectly checked EEXIST when handling a missing WAL summary file and attached a one-line replacement with ENOENT in #1.
- Michael explained that both current callers pass missing_ok=false, so the bug is dormant, and proposed preserving the function signature for future callers using missing_ok=true in #1.
- Chao Li confirmed the fix in #2, explaining that EEXIST concerns O_CREAT with O_EXCL, whereas this function opens files with O_RDONLY.
- Michael committed #1 unchanged as 213fec296f, crediting Chao Li as reviewer and specifying backpatching through PostgreSQL 17.
- The thread ends with Chao Li's endorsement in #2; the subsequent commit 213fec296f lands the entire patch, with no outstanding changes recorded.