model-writtenrun 4380 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Kyotaro Horiguchi reported that an unnecessary guc.h include in smgr.h caused pg_rewind compilation problems in his ongoing work, verified that the build succeeded without it, and attached its removal in #1.
- Tom Lane supported the removal and questioned a related change to fd.h, observing that adding includes to headers was generally undesirable in #2.
- Thomas Munro agreed to commit the smgr.h cleanup and explained that the include was probably left over from an earlier arrangement of GUC declarations in #3.
- Thomas Munro also explained that fd.h needed fcntl.h for its O_DIRECT check and promised to investigate whether that separate correction needed backpatching; the thread records no outcome of that investigation #3.
- Later that day, Thomas Munro committed the exact deletion from #1 as 828e93a6f2, completing the submitted cleanup.