model-writtenrun 430 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Masashi Kamura reported a to_date() crash with UTF8 encoding and the C locale in #1, and Alvaro Herrera reproduced it and traced it to a NULL native locale handle in #2.
- Heikki Linnakangas explained in #3 that PostgreSQL 18 lacked the C-locale handling present on newer branches, then supplied #4 to make the generic case-conversion APIs safe while leaving duplicate caller-side optimizations for separate cleanup.
- Alvaro supplied an independently written libc-layer alternative in #5, but preferred Heikki's generic-layer implementation because it also covered the builtin provider; Masashi reported that both patches passed his testing in #6.
- Andres Freund raised analogous hazards in comparison and transformation APIs in #7, but Tom Lane favored shipping the urgent case-conversion fix first in #8; Heikki committed #4 unchanged as 5f003855e7 and announced it in #9.
- After that landing, Andres identified the missing negative-length behavior, inappropriate iteration types, undocumented buffer contracts, and testing concerns in #10, while Jeff Davis acknowledged the missed backport in #11.
- Tom explained the narrow C-locale and encoding combination missed by buildfarm testing in #12, and Andres then found that a linux-gnu version-string check excluded Meson builds and proposed discussing that separately in #13.
- Jeff supplied branch-specific negative-length, iteration, documentation, and collation fixes in #14, then added a C API test module in #15; the saved attachment bodies for both submissions are unavailable.
- The PostgreSQL 18 negative-length component of #15 landed as 27e2afb492, adding strlen-based normalization before the C-locale helpers.
- Andres reviewed the expanded series in #16, welcomed the documentation and tests, requested explanations of titlecase and casefolding, and asked that tests reuse regress.c instead of creating another database cluster.
- The documentation component of #15 landed as cba80d5e74, the stable-branch iteration fixes as c684d98c3d, and the broader C-collation fallback support as 5e9d23f98c.
- At the thread's last message, #17, Jeff confirmed the preceding fixes committed and submitted the remaining tests relocated into regress.c, plus expanded explanatory comments and two Unicode example tests.
- The relocated test patch from #17 subsequently landed unchanged as 483e918674, while 04a20a4a1b retained only its per-function explanatory comments; the broader Unicode discussion and example tests were omitted without an explanation in the supplied thread.