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 <[email protected]>
Reviewed-by: Andres Freund <[email protected]>
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 via email to