diff options
author | Jeff Davis | 2025-07-16 21:13:18 +0000 |
---|---|---|
committer | Jeff Davis | 2025-07-16 21:13:18 +0000 |
commit | 5e6e42e44fe10cab616b4fbe9725df03c987c90a (patch) | |
tree | be4845346e0c2b474c6f49fa4994cb6d5acad703 /src/pl/tcl/pltcl--1.0.sql | |
parent | 0858f0f96ebb891c8960994f023ed5a17b758a38 (diff) |
Avoid dependence on setlocale().
strcoll(), etc., are not called directly; all collation-sensitive
calls should go through pg_locale.c and use the appropriate
provider. By setting LC_COLLATE to C, we avoid accidentally depending
on libc behavior when using a different provider.
No behavior change in the backend, but it's possible that some
extensions will be affected. Such extensions should be updated to use
the pg_locale_t APIs.
Discussion: https://postgr.es/m/9875f7f9-50f1-4b5d-86fc-ee8b03e8c162@eisentraut.org
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Diffstat (limited to 'src/pl/tcl/pltcl--1.0.sql')
0 files changed, 0 insertions, 0 deletions