model-writtenrun 7907 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Joel Jacobson proposed bytea support for TRIM LEADING and TRAILING in #1, sharing the existing both-ends trimming implementation so callers could remove zero bytes from either end independently.
- Tom Lane identified missing SQL-syntax deparsing support and questionable catalog-description grammar in #2; Joel added ruleutils support, view-deparsing tests and expanded trim documentation in #3.
- Tom clarified in #4 that the new descriptions incorrectly referred to plural left and right ends.
- Joel corrected the descriptions and added standalone ltrim/rtrim documentation in #5, offering two complete alternatives: minimal wording corrections or descriptions explicitly saying selected bytes, including an updated btrim description.
- Tom chose the selected-bytes alternative and committed #5 as a6cf3df4eb, with light documentation and formatting corrections and a catalog-version bump; his final message #6 confirmed the feature had landed.