Wrap ICU ucol_open().

Jeff Davis <jdavis@postgresql.org>

Commit: a326aac8f1719c37529ae090f66bac9e62c32346
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2023-03-23T16:15:25Z
Releases: 16.0
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

PathChange+/−
src/backend/utils/adt/pg_locale.c modified +43 −27

Discussion