agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix callers of unicode_strtitle() using srclen == -1.
Date: Mon, 20 Apr 2026 21:49:29 +0000
Message-ID: <E1wEwUi-001uoq-1B@gemulon.postgresql.org> (raw)

Fix callers of unicode_strtitle() using srclen == -1.

Currently, only called that way in tests, which failed to fail.

Discussion: https://postgr.es/m/581a72ff452bb045ba83bbe3c6cf4467702d4f0f.camel@j-davis.com
Backpatch-through: 18

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6044f55a47f575bac7af89fb22d4a2ff428c7c52

Modified Files
--------------
src/backend/utils/adt/pg_locale_builtin.c | 2 +-
src/common/unicode/case_test.c            | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)



view thread (2+ messages)

Message-ID: <E1wEwUi-001uoq-1B@gemulon.postgresql.org>
Permalink:  ../E1wEwUi-001uoq-1B@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wEwUi-001uoq-1B@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: Fix callers of unicode_strtitle() using srclen == -1.
  In-Reply-To: <E1wEwUi-001uoq-1B@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox