]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix callers of unicode_strtitle() using srclen == -1.
authorJeff Davis <jdavis@postgresql.org>
Mon, 20 Apr 2026 21:44:08 +0000 (14:44 -0700)
committerJeff Davis <jdavis@postgresql.org>
Mon, 20 Apr 2026 21:45:44 +0000 (14:45 -0700)
commit6044f55a47f575bac7af89fb22d4a2ff428c7c52
tree6392edf5369ec342f2ff11383b1d586188d843ee
parent16fb94605c8f73e113d100ebb9e1d96642c85767
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
src/backend/utils/adt/pg_locale_builtin.c
src/common/unicode/case_test.c