Relax check for return value from second call of pg_strnxfrm().

Jeff Davis <jdavis@postgresql.org>

Commit: 403cbd21081939563ec79d100a83b168afcf0300
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2024-07-30T23:25:21Z
Releases: 16.4
Relax check for return value from second call of pg_strnxfrm().

strxfrm() is not guaranteed to return the exact number of bytes needed
to store the result; it may return a higher value.

Discussion: https://postgr.es/m/32f85d88d1f64395abfe5a10dd97a62a4d3474ce.camel@j-davis.com
Reviewed-by: Heikki Linnakangas
Backpatch-through: 16

Files

Discussion