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

Jeff Davis <jdavis@postgresql.org>

Commit: bdcb85b56ac4e0594e3c3402545a4c87712ce461
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2026-04-20T21:44:08Z
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