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 E1wEwUc-001uoC-26@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
------
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(-)


pgsql-committers by date:

Previous
From: Jeff Davis
Date:
Subject: pgsql: style: define parameterless functions as foo(void).
Next
From: Jeff Davis
Date:
Subject: pgsql: Fix callers of unicode_strtitle() using srclen == -1.