| From: | Jeff Davis <jdavis(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Ensure all pg_locale.h APIs work with collate_is_c. |
| Date: | 2026-08-20 16:41:20 |
| Message-ID: | E1wx5pP-00000001NrM-0jVr@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Ensure all pg_locale.h APIs work with collate_is_c.
Safer for callers, so that checking collate_is_c is only needed if the
caller wants to optimize for that case.
Backpatch to avoid creating a hazard for other backpatches in this
area.
Suggested-by: Andres Freund <andres(at)anarazel(dot)de>
Suggested-by: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Discussion: https://postgr.es/m/v36ssaygf7grb3qzfsjhtdzi7kqd45ds56nyuf7gi5qjml4qbb@ezmfqzmhlrs2
Backpatch-through: 18
Branch
------
REL_19_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/5e9d23f98cc1c5a7b4add5b843a564fe9c35c6b3
Modified Files
--------------
src/backend/utils/adt/pg_locale.c | 55 ++++++++++++++++++++++++++++++++++-----
1 file changed, 49 insertions(+), 6 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jeff Davis | 2026-08-20 16:41:25 | pgsql: Ensure all pg_locale.h APIs work with collate_is_c. |
| Previous Message | Jeff Davis | 2026-08-20 16:41:13 | pgsql: Ensure all pg_locale.h APIs work with collate_is_c. |