model-writtenrun 4664 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jeff Davis reported that creating the unaccent extension failed with an invalid multibyte character error when using ICU and LC_CTYPE=C in #1.
- Jeff traced the failure to checking the default collation instead of the database's LC_CTYPE and attached a patch introducing database_ctype_is_c for tsearch classification, lowercasing, and parser initialization in #1.
- Jeff described ICU-based character classification as the eventual solution, while proposing the attached locale check as an immediate fix in #1.
- Peter Eisentraut judged the fix correct but questioned the configuration's usefulness and suggested documenting why the two C-locale checks could disagree in #2, the thread's final message.
- Jeff subsequently committed the patch as f413941f41, retaining its source changes and removing the unaccent regression-test skip for the repaired configuration; the commit credits Peter's review and specifies backpatching through PostgreSQL 15.