diff options
author | Thomas Munro <tmunro@postgresql.org> | 2023-04-20 13:15:23 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2023-04-20 13:20:14 +1200 |
commit | 7d3d72b55edd1b7552a9a358991555994efab0e9 (patch) | |
tree | b85a8ccca7b6f7027e0c511f26ebf6b928a3918b /src/backend/utils/init/postinit.c | |
parent | e35ded29566f679e52888a8d34468bb51bc78bed (diff) | |
download | postgresql-7d3d72b55edd1b7552a9a358991555994efab0e9.tar.gz postgresql-7d3d72b55edd1b7552a9a358991555994efab0e9.zip |
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
Diffstat (limited to 'src/backend/utils/init/postinit.c')
-rw-r--r-- | src/backend/utils/init/postinit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c index 5af87a78683..53420f4974f 100644 --- a/src/backend/utils/init/postinit.c +++ b/src/backend/utils/init/postinit.c @@ -487,8 +487,6 @@ CheckMyDatabase(const char *name, bool am_superuser, bool override_allow_connect SetConfigOption("lc_collate", collate, PGC_INTERNAL, PGC_S_DYNAMIC_DEFAULT); SetConfigOption("lc_ctype", ctype, PGC_INTERNAL, PGC_S_DYNAMIC_DEFAULT); - check_strxfrm_bug(); - ReleaseSysCache(tup); } |