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

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix callers of unicode_strtitle() using srclen == -1.
Date: 2026-04-20 21:49:23
Message-ID: E1wEwUc-001uoC-26@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bdcb85b56ac4e0594e3c3402545a4c87712ce461

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2026-04-20 21:49:29 pgsql: Fix callers of unicode_strtitle() using srclen == -1.
Previous Message Jeff Davis 2026-04-20 21:43:56 pgsql: style: define parameterless functions as foo(void).