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
..
2023-07-05 10:53:11 +09:00
2024-06-17 12:55:10 -04:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-01-29 12:08:57 -06:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-03-22 22:58:41 +01:00
2024-01-24 15:04:33 +09:00
2024-01-03 20:49:05 -05:00
2022-09-27 20:50:21 +02:00
2024-03-22 17:13:53 -04:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-01-25 17:47:08 -05:00
2024-01-03 20:49:05 -05:00
2024-03-27 11:43:29 +09:00
2024-01-03 20:49:05 -05:00
2024-02-14 17:09:31 -06:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-03-21 17:07:03 +09:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-07-05 14:42:55 -05:00
2024-03-27 10:45:28 -04:00
2024-07-24 06:31:07 +02:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-07-26 15:12:21 +03:00
2024-01-03 20:49:05 -05:00
2024-07-27 23:46:07 +12:00
2024-03-21 17:07:03 +09:00
2024-06-28 21:58:13 +09:00
2024-06-19 15:22:06 +09:00
2024-01-03 20:49:05 -05:00
2024-04-15 15:07:47 +02:00
2024-01-03 20:49:05 -05:00
2024-04-08 00:02:43 +12:00
2024-04-07 23:32:00 +12:00
2024-04-08 00:02:43 +12:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-03-27 10:12:39 +00:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-07-30 00:58:06 -07:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-07-11 09:21:40 +09:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-06-04 09:29:42 +01:00
2023-02-20 16:18:27 +13:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-04-11 16:02:49 +03:00
2024-01-31 12:31:02 +02:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-06-12 17:01:51 -04:00
2024-01-03 20:49:05 -05:00
2024-04-07 01:18:44 +03:00
2024-01-03 20:49:05 -05:00
2024-04-06 11:47:10 -04:00
2024-01-03 20:49:05 -05:00
2024-04-17 11:21:17 -07:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-01-23 07:31:06 +01:00
2024-02-15 23:56:12 +02:00
2024-01-03 20:49:05 -05:00
2024-06-12 17:01:51 -04:00
2024-07-05 14:05:08 +12:00
2024-01-20 13:57:54 -05:00
2024-01-03 20:49:05 -05:00
2023-04-04 11:25:23 -04:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00
2024-06-27 19:21:05 -07:00
2024-01-03 20:49:05 -05:00
2024-01-03 20:49:05 -05:00