model-writtenrun 5061 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andres Freund opened the thread just after PostgreSQL 15's release, explaining that SetSingleFuncCall and its flags misleadingly described materialized set-returning functions and proposing InitMaterializedSRF with MAT_SRF_USE_EXPECTED_DESC and MAT_SRF_BLESS #1.
- Michael Paquier accepted renaming but suggested alternative wording and raised extension compatibility; Andres argued that Init and SRF conveyed the operation better and that preserving binary compatibility required a real wrapper function rather than a macro #2 #3.
- Melanie Plageman supported the materialize-based names and explored broader inconsistencies in result enums and multi-call APIs, while Tom Lane cautioned that longstanding names were embedded in third-party code, leaving those broader changes outside this patch #4 #5.
- Michael submitted the sole patch, updating the helper, flags, callers and documentation while preserving the old symbols, with a plan to retain compatibility only in PostgreSQL 15 and remove it from HEAD #6.
- Melanie questioned why compatibility required a function, Andres explained the binary compatibility requirement, and Michael reiterated that HEAD would drop the compatibility layer #7 #8 #10.
- Andres reviewed the patch favorably but questioned the description of blessing a tuple descriptor and inconsistent call wrapping; Michael accepted the formatting adjustment and reconsidered the comment wording #9 #11.
- Michael committed the rename from #6 with light comment and formatting edits as a19e5cee63, also backpatching it to PostgreSQL 15, then implemented the discussed HEAD-only compatibility removal separately as eddc128bea.
- Michael reported the final BlessTupleDesc-based wording and completed removal of compatibility from HEAD, and Andres thanked him; the scoped rename and cleanup were complete, with broader API naming changes left outside this work #12 #13.