model-writtenrun 9238 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier proposed consolidating repeated trailing-newline and carriage-return removal into pg_strip_crlf() in src/common/string.c, attaching a patch that converted the existing callers #1.
- Bruce Momjian endorsed the refactoring as a good idea #2.
- Michael thanked Bruce for reviewing and asked whether Tom Lane had objections; the supplied thread contains no reply from Tom #3.
- Michael committed the patch as b8f2da0ac5, retaining the shared helper and most caller conversions from #1, omitting the src/port/sprompt.c conversion without a stated reason, and making minor warning and comment fixes.
- Michael announced that the change had been applied and that warnings missed in the initial version were fixed, closing the thread with no further revision proposed #4.