postgresql/src
Jeff Davis 5e6e42e44f Force LC_COLLATE to C in postmaster.
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>
2025-07-16 14:13:18 -07:00
..
backend Force LC_COLLATE to C in postmaster. 2025-07-16 14:13:18 -07:00
bin Fix dumping of comments on invalid constraints on domains 2025-07-16 19:22:53 +02:00
common Standardize LSN formatting by zero padding 2025-07-07 13:57:43 +02:00
fe_utils Fix bug in archive streamer with LZ4 decompression 2025-07-02 13:48:36 +09:00
include Remove long-unused TransactionIdIsActive() 2025-07-12 11:00:44 -04:00
interfaces libpq: Add "servicefile" connection option 2025-07-13 16:52:19 +09:00
makefiles meson: Increase minimum version to 0.57.2 2025-07-02 11:14:53 +02:00
pl Use pg_assume() to avoid compiler warning below exec_set_found() 2025-07-09 18:40:54 -04:00
port Fix indentation in pg_numa code 2025-07-01 15:23:07 +02:00
template thread-safety: gmtime_r(), localtime_r() 2024-08-23 07:43:04 +02:00
test Fix dumping of comments on invalid constraints on domains 2025-07-16 19:22:53 +02:00
timezone Update time zone data files to tzdata release 2025b. 2025-04-30 11:13:49 -04:00
tools aio: Regularize IO worker internal naming. 2025-07-12 14:44:09 +12:00
tutorial Doc: simplify the tutorial's window-function examples. 2025-01-21 14:43:21 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in oauth: Move the builtin flow into a separate module 2025-05-01 09:14:30 -07:00
Makefile.shlib Use exported symbols list on macOS for loadable modules as well 2025-06-10 07:04:43 +02:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00