1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-09 13:09:39 +03:00
Files
postgres/src/test/regress/sql
Jeff Davis 72fe6d24a3 Make collation not depend on setlocale().
Now that the result of pg_newlocale_from_collation() is always
non-NULL, then we can move the collate_is_c and ctype_is_c flags into
pg_locale_t. That simplifies the logic in lc_collate_is_c() and
lc_ctype_is_c(), removing the dependence on setlocale().

This commit also eliminates the multi-stage initialization of the
collation cache.

As long as we have catalog access, then it's now safe to call
pg_newlocale_from_collation() without checking lc_collate_is_c()
first.

Discussion: https://postgr.es/m/cfd9eb85-c52a-4ec9-a90e-a5e4de56e57d@eisentraut.org
Reviewed-by: Peter Eisentraut, Andreas Karlsson
2024-07-30 00:58:06 -07:00
..
2024-01-31 15:02:28 +09:00
2021-03-26 13:35:32 +01:00
2024-07-12 13:44:19 +02:00
2024-04-01 15:25:25 +09:00
2024-04-18 21:28:07 +02:00
2021-02-26 09:11:15 +01:00
2023-08-25 13:31:24 +02:00
2024-04-15 08:34:45 +02:00
2024-04-18 21:28:07 +02:00
2024-07-19 11:52:32 -05:00
2022-08-25 10:31:20 +02:00
2024-07-02 10:43:12 +02:00
2024-04-18 21:28:07 +02:00
2024-02-28 15:17:23 +04:00
2022-04-07 16:18:00 +02:00
2023-08-23 07:49:03 -07:00
2024-04-18 21:28:07 +02:00
2024-04-16 16:21:31 +12:00
2024-03-19 09:32:04 +01:00