| From: | Jeff Davis <jdavis(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Allow pg_locale_t APIs to work when ctype_is_c. |
| Date: | 2025-11-26 20:56:47 |
| Message-ID: | E1vOMZD-001YDt-17@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Allow pg_locale_t APIs to work when ctype_is_c.
Previously, the caller needed to check ctype_is_c first for some
routines and not others. Now, the APIs consistently work, and the
caller can just check ctype_is_c for optimization purposes.
Discussion: https://postgr.es/m/450ceb6260cad30d7afdf155d991a9caafee7c0d.camel@j-davis.com
Reviewed-by: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/147602822597204aa436415ebe295926b268ab5c
Modified Files
--------------
src/backend/utils/adt/pg_locale.c | 82 +++++++++++++++++++++++++++++++---
src/backend/utils/adt/pg_locale_libc.c | 6 +++
2 files changed, 82 insertions(+), 6 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nathan Bossart | 2025-11-26 21:16:04 | pgsql: Teach DSM registry to retry entry initialization if needed. |
| Previous Message | Daniel Gustafsson | 2025-11-26 20:36:06 | pgsql: Check for correct version of perltidy |