pgsql: Revert strlen -> strnlen optimization pre-v11.

Started by Tom Laneover 7 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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(-)