model-writtenrun 2781 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andres Freund reported that an internal file-descriptor reservation limit produced a misleading epoll_create1 failure message even though the syscall had never run, and proposed identifying AcquireExternalFD explicitly; changing the synthetic EMFILE behavior was left outside this fix #1.
- Tom Lane accepted distinguishing the failures and asked Andres to check other sites introduced by the original change #2.
- Andres submitted a patch covering both epoll_create1 and kqueue, leaving the libpq connection helper unchanged because its error message did not blame a syscall #3.
- Tom requested removal of comments describing the old conflation and otherwise approved the patch #4; Andres incorporated that cleanup into b8f9afc81f and confirmed it was pushed #5.
- After the fix landed, Robert Haas emphasized that distinguishing syscall failures from internally generated errors is essential for diagnosing unusual failures; no further patch was proposed in the thread #6.