pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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:36:58 +0000
Message-ID: <E1wwl9l-00000001FsN-0Eug@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_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(-)



view thread (2+ messages)

Message-ID: <E1wwl9l-00000001FsN-0Eug@gemulon.postgresql.org>
Permalink:  ../E1wwl9l-00000001FsN-0Eug@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wwl9l-00000001FsN-0Eug@gemulon.postgresql.org

 · 

reply

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: <E1wwl9l-00000001FsN-0Eug@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