Wrap ICU ucol_open().
Jeff Davis <jdavis@postgresql.org>
Wrap ICU ucol_open(). Hide details of supporting older ICU versions in a wrapper function. The current code only needs to handle icu_set_collation_attributes(), but a subsequent commit will add additional version-specific code. Discussion: https://postgr.es/m/7ee414ad-deb5-1144-8a0e-b34ae3b71cd5@enterprisedb.com Reviewed-by: Peter Eisentraut
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/pg_locale.c | modified | +43 −27 |
Discussion
- ICU locale validation / canonicalization 46 messages · 2023-02-08 → 2023-07-07