From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_locale.c, unicode_case.c: use size_t for iteration.
Date: Wed, 19 Aug 2026 18:32:48 +0000
Message-ID: <E1wwl5j-00000001Fq8-3LAU@gemulon.postgresql.org> (raw)
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@anarazel.de>
Reviewed-by: Andres Freund <andres@anarazel.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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: jdavis@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: pg_locale.c, unicode_case.c: use size_t for iteration.
In-Reply-To: <E1wwl5j-00000001Fq8-3LAU@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox