summaryrefslogtreecommitdiff
path: root/src/tools/msvc_gendef.pl
diff options
context:
space:
mode:
authorJeff Davis2025-12-16 23:32:57 +0000
committerJeff Davis2025-12-16 23:32:57 +0000
commit0a90df58cf38cf68d59c6841513be98aeeff250e (patch)
tree292d9630aed3581f5b6c915ccf21854a0bda358e /src/tools/msvc_gendef.pl
parent87b2968df0f866aaccb6ba69adf284e3c4a79454 (diff)
Avoid global LC_CTYPE dependency in pg_locale_icu.c.HEADmaster
ICU still depends on libc for compatibility with certain historical behavior for single-byte encodings. Make the dependency explicit by holding a locale_t object when required. We should consider a better solution in the future, such as decoding the text to UTF-32 and using u_tolower(). That would be a behavior change and require additional infrastructure though; so for now, just avoid the global LC_CTYPE dependency. Reviewed-by: Chao Li <li.evan.chao@gmail.com> Discussion: https://postgr.es/m/450ceb6260cad30d7afdf155d991a9caafee7c0d.camel@j-davis.com
Diffstat (limited to 'src/tools/msvc_gendef.pl')
0 files changed, 0 insertions, 0 deletions