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

Jeff Davis <jdavis@postgresql.org>

Commit: 6044f55a47f575bac7af89fb22d4a2ff428c7c52
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2026-04-20T21:45:44Z
Releases: 18.4
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

Files

Discussion