| 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:36:58 |
| Message-ID: | E1wwl9l-00000001FsN-0Eug@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_18_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/3ca22c7b7ccb1f8897ca6d05f4e6c4934c537eeb
Modified Files
--------------
src/backend/utils/adt/pg_locale.c | 6 +++---
src/common/unicode_case.c | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Geoghegan | 2026-08-19 19:46:30 | pgsql: GiST: Invalidate killed items consistently. |
| Previous Message | Jeff Davis | 2026-08-19 18:32:48 | pgsql: pg_locale.c, unicode_case.c: use size_t for iteration. |