| From: | Jeff Davis <jdavis(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: pg_locale.c, unicode_case.c: use size_t for iteration. |
| Date: | 2026-08-19 18:32:48 |
| Message-ID: | E1wwl5j-00000001Fq8-3LAU@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
pg_locale.c, unicode_case.c: use size_t for iteration.
Already done by e615da8cb21b in master. Backpatch these particular
cases to make other backpatches in this area safer, and to be safe for
callers in extensions that we don't know about.
This applies to REL_19_STABLE and REL_18_STABLE only.
Suggested-by: Andres Freund <andres(at)anarazel(dot)de>
Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
Discussion: https://postgr.es/m/v36ssaygf7grb3qzfsjhtdzi7kqd45ds56nyuf7gi5qjml4qbb@ezmfqzmhlrs2
Branch
------
REL_19_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/c684d98c3da783d37321649dd75df3f67ec98b99
Modified Files
--------------
src/backend/utils/adt/pg_locale.c | 6 +++---
src/backend/utils/adt/pg_locale_icu.c | 2 +-
src/backend/utils/adt/pg_locale_libc.c | 2 +-
src/common/unicode_case.c | 4 ++--
4 files changed, 7 insertions(+), 7 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jeff Davis | 2026-08-19 18:36:58 | pgsql: pg_locale.c, unicode_case.c: use size_t for iteration. |
| Previous Message | Tom Lane | 2026-08-19 18:07:05 | pgsql: Support tied Perl objects in plperl and associated contrib modul |