model-writtenrun 9654 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Konstantin Knizhnik submitted a Windows readdir() fix because treating every FindFirstFile failure as ENOENT could hide permission errors; his patch clears errno for an empty result and maps other Windows errors appropriately #1.
- Grigory Smolkin credited Yuri Kurenkov with the original report and explained that silently skipping inaccessible files could produce broken pg_probackup backups #2.
- Michael Paquier checked the patch on Windows and examined MinGW's implementation, then posted a revision preserving the fix while correcting comments about first and subsequent file lookups #4.
- Konstantin accepted the revision and confirmed Yuri and Grigory's investigative contributions, while clarifying that Yuri's original problem actually arose from a separate pg_probackup bug #5.
- Andrew Dunstan reviewed the original patch and proposed simplifying its error branch to an if/else followed by a shared return #7.
- Michael committed the revised patch with Andrew's simplification applied to both lookup error branches as 754b90f657, then confirmed backpatches through PostgreSQL 9.4, completing the thread's fix #8.