Unicode case mapping and CASEFOLD
Full Unicode case mapping (PG_UNICODE_FAST, UCS_BASIC), the CASEFOLD() function and faster case conversion.
Versions
- PostgreSQL 19 · shipped · improved · moderate · 1 commit · +202 / -94 lines
- PostgreSQL 18 · shipped · new · moderate · 9 commits · +21.3k / -9.4k lines
- PostgreSQL 17 · worked-on · new · moderate
Threads
- Comment and test to capture case mapping complexities
- Casefold wording in ILIKE comment
- BUG #19413: ASAN: stack-buffer-overflow in foldcase_options() with invalid ICU language tag
- small cleanup patches for collation code
- Speed up ICU case conversion by using ucasemap_utf8To*()
- Use CASEFOLD() internally rather than LOWER()
- str_casefold: fix typo in error message
- [18+] improve upgrade pre-check for Unicode updates
- BUG #19004: Incorrect lowercasing of word-final Greek capital Sigma (Σ)
- Add CASEFOLD() function.
- Unicode full case mapping: PG_UNICODE_FAST, and standard-compliant UCS_BASIC
- Optimization for lower(), upper(), casefold() functions.
- Does UCS_BASIC have the right CTYPE?