Remove obsolete defense against strxfrm() bugs.
authorThomas Munro <tmunro@postgresql.org>
Thu, 20 Apr 2023 01:15:23 +0000 (13:15 +1200)
committerThomas Munro <tmunro@postgresql.org>
Thu, 20 Apr 2023 01:20:14 +0000 (13:20 +1200)
commit7d3d72b55edd1b7552a9a358991555994efab0e9
treeb85a8ccca7b6f7027e0c511f26ebf6b928a3918b
parente35ded29566f679e52888a8d34468bb51bc78bed
Remove obsolete defense against strxfrm() bugs.

Old versions of Solaris and illumos had buffer overrun bugs in their
strxfrm() implementations.  The bugs were fixed more than a decade ago
and the relevant releases are long out of vendor support.  It's time to
remove the defense added by commit be8b06c3.

Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CA+hUKGJ-ZPJwKHVLbqye92-ZXeLoCHu5wJL6L6HhNP7FkJ=meA@mail.gmail.com
src/backend/main/main.c
src/backend/utils/adt/pg_locale.c
src/backend/utils/init/postinit.c
src/include/utils/pg_locale.h