Revert strlen -> strnlen optimization pre-v11. We don't have a src/port substitute for that function in older branches, so it fails on platforms lacking the function natively. Per buildfarm.
Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/809cccc3547462cd6b9a110ac82a5a60b9ee8587 Modified Files -------------- src/backend/utils/adt/xml.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-)