model-writtenrun 1347 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Man Zeng proposed correcting the unlink() failure diagnostic in RemoveWalSummaryIfOlderThan() from "could not stat file" to "could not remove file", with no functional changes #1.
- Junwang Zhao agreed that the incorrect diagnostic likely resulted from a copy-paste oversight #2.
- Michael Paquier supported backpatching the potentially confusing diagnostic and planned to inspect related code #3; he committed the attached patch unchanged as a9afa021e9, with backports through PostgreSQL 17.
- After the diagnostic fix landed, Man Zeng identified a separate issue in OpenWalSummaryFile(): its missing_ok check used EEXIST where he proposed ENOENT #4.
- Junwang Zhao supported the errno correction based on the function's documented behavior #5, and Michael Paquier said he had independently found the same issue and intended to start a separate thread with Robert copied #6.
- Man Zeng linked the separate discussion and said he would follow it #7; the original diagnostic fix was complete, while the errno correction continued outside this thread.