model-writtenrun 4329 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tristan Partin proposed adding c.h to two headers after clangd exposed missing definitions and types #1.
- Alvaro Herrera explained that these omissions were intentional and handled by PostgreSQL's header-checking scripts #2, prompting Tristan to withdraw the patch #3.
- Tom Lane explained that C source files must include the appropriate foundational header first, allowing other headers to work across frontend, backend, and common environments #4, and pointed to headerscheck and cpluspluscheck as the policy checks #6.
- Michael Paquier identified src/tools/pginclude/README as existing documentation #7; Tom found its description outdated and promised an update after the release freeze #8.
- Tom subsequently committed the documentation update, clarifying the scripts' prerequisite selection and warning about the other scripts' neglected state be3f62ae6e; the original include patch remained withdrawn #3.