model-writtenrun 444 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jeff Davis proposed using the actual transformed length instead of the allocated buffer size for text and bpchar hashing, explaining that the ICU-only nondeterministic collation path had no known bug or results change #1.
- Haibo Yan said the fix looked right and requested clearer documentation distinguishing buffer sizing from the authoritative transformation result length #2.
- Haibo Yan considered a regression test unnecessary unless it could exercise a transformation shorter than the sizing estimate, because an ICU test would pass both before and after the change #2.
- Jeff Davis committed #1 as 3849ce5b30, preserving its code changes and adding a buffer-resizing clarification to the pg_strnxfrm() comment, with backpatching through PostgreSQL 16 specified.
- Jeff Davis confirmed that the requested clarification was done and the patch committed, leaving no outstanding work stated in the thread #3.