model-writtenrun 7544 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane opened the thread with #1, proposing SQL-standard bodies for built-in and information_schema SQL functions to improve search-path safety, while retaining textual bodies for polymorphic functions and qualifying their operators where necessary.
- The patch in #1 also gave both ts_debug variants catalog entries and pinned identities, and replaced converted functions' pg_proc.dat source text with placeholders pointing to their SQL definitions.
- Tom Lane separately proposed moving function definitions into system_functions.sql because of their growing size and the distinction between pinned functions and unpinned views, but did not include that split in #1.
- Justin Pryzby expressed agreement in #2, and Noah Misch said the patch looked good in #3 while noting that reloading existing views already produced some errors; neither reply documents qualifying patch testing, a code defect, or an adopted change.
- After the final thread reply, Tom Lane implemented the proposed file split in e809493725, including installation and initdb integration and a missing input-file check for system_constraints.sql.
- Tom Lane then committed the conversion from #1 as 767982e362, preserving its functional changes while adapting it to system_functions.sql and adding a catalog-version bump.
- The follow-up 8a2df442b6 corrected stale filenames in the catalog placeholders, completing the recorded work; polymorphic functions remained in textual-body form as planned.