model-writtenrun 9310 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Masahiko Sawada found function declarations without implementations using a shell script and submitted a patch removing TransactionIdAbort, renameatt_type and dsa_startup #1.
- Tom Lane committed that patch unchanged as 79b94716e7, then explained that the search missed declarations without extern and functions returning pointers, prompting a broader search #2.
- Masahiko Sawada expanded the search and submitted a separate cleanup removing five more obsolete declarations from pg_dump, bootstrap, relation and libpq headers #3.
- Michael Paquier committed the second patch unchanged as d1a040543b and announced its application #4; Sawada acknowledged it #5.
- Ashwin Agrawal proposed turning the search into a maintained src/tools utility, either independently or by extending find_static #6.
- With both cleanup patches committed, Tom Lane opposed adopting the current scripts because of false positives and false negatives, while suggesting that a more reliable tool might use pgindent to recognize declarations even inside conditional compilation blocks; no tooling patch followed in this thread #7.