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:29
Message-ID: E1wEwUi-001uoq-1B@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
------
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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2026-04-20 23:02:55 Re: pgsql: Clean up all relid fields of RestrictInfos during join removal.
Previous Message Jeff Davis 2026-04-20 21:49:23 pgsql: Fix callers of unicode_strtitle() using srclen == -1.