model-writtenrun 4866 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Bharath Rupireddy proposed replacing hardcoded tuple descriptors with get_call_result_type() to reduce duplication, alongside a separate patch removing subsequent BlessTupleDesc() calls in #1; Michael Paquier initially supported the cleanup in #2.
- Tom Lane raised the cost of catalog-based descriptor construction in #3, and Michael requested repeated-call benchmarks after Bharath's initial test timings in #4 and #5.
- Bharath measured a 45% execution-time increase for repeated calls returning a 36-column row and narrowed the conversion patch to functions considered less frequently called in #6.
- Robert Haas questioned whether the cleanup justified its costs and whether the performance categories were arbitrary in #7 and #9; Álvaro Herrera and Tom supported the selective approach in #8 and #10, after which Robert accepted proceeding in #11.
- Michael questioned the BlessTupleDesc() cleanup in #13, and Tom explained that get_call_result_type() did not promise a blessed descriptor in #14; despite Bharath's assertions testing the affected cases in #15, Tom recommended retaining the cheap calls rather than relying on undocumented behavior in #16.
- Michael committed the conversion portion of #6 as 22e3b55805, fixing duplicate construction in wparser.c and restoring the pg_control_system() and pg_control_checkpoint() conversions from #1; his announcement in #17 also agreed to leave the separate BlessTupleDesc() cleanup out.
- After the code conversion landed, Bharath submitted a new documentation patch explaining explicit descriptor construction and warning about repeated-call overhead in #18; that proposal remained unanswered at the end of the supplied thread.