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

From Jeff Davis
Subject pgsql: Fix callers of unicode_strtitle() using srclen == -1.
Date
Msg-id E1wEwUi-001uoq-1B@gemulon.postgresql.org
Whole thread
List 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(-)


pgsql-committers by date:

Previous
From: Jeff Davis
Date:
Subject: pgsql: Fix callers of unicode_strtitle() using srclen == -1.
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: Clean up all relid fields of RestrictInfos during join removal.