model-writtenrun 2336 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- David Rowley proposed replacing unnecessarily formatted string appends with appropriate string or character operations, attaching both diagnostic instrumentation expressly excluded from commit and the intended cleanup in #1.
- Heikki Linnakangas endorsed proceeding immediately in #2, and Nathan Bossart supported the cleanup while suggesting a separate future optimization to eliminate runtime strlen calls for string literals in #3.
- David committed the cleanup portion unchanged apart from rebasing as 928394b664 and announced completion in #4, explaining that possible conflicts with impending reverts had prompted his initial hesitation.
- The discussion then turned to broader optimization: David described code-size and macro tradeoffs in #5, and Peter Eisentraut proposed automatically routing appendStringInfo calls without variadic arguments to appendStringInfoString in #6.
- Tom Lane objected that automatic routing would change escaped-percent behavior in #7; Nathan acknowledged the additional context in #8, leaving the intended cleanup committed, the diagnostic instrumentation intentionally uncommitted, and the broader optimizations unresolved.