summaryrefslogtreecommitdiff
path: root/src/include/utils
diff options
context:
space:
mode:
authorThomas Munro2023-04-20 01:15:23 +0000
committerThomas Munro2023-04-20 01:20:14 +0000
commit7d3d72b55edd1b7552a9a358991555994efab0e9 (patch)
treeb85a8ccca7b6f7027e0c511f26ebf6b928a3918b /src/include/utils
parente35ded29566f679e52888a8d34468bb51bc78bed (diff)
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/include/utils')
-rw-r--r--src/include/utils/pg_locale.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/utils/pg_locale.h b/src/include/utils/pg_locale.h
index 8c095abc524..03ab5982158 100644
--- a/src/include/utils/pg_locale.h
+++ b/src/include/utils/pg_locale.h
@@ -53,7 +53,6 @@ extern PGDLLIMPORT bool database_ctype_is_c;
extern bool check_locale(int category, const char *locale, char **canonname);
extern char *pg_perm_setlocale(int category, const char *locale);
-extern void check_strxfrm_bug(void);
extern bool lc_collate_is_c(Oid collation);
extern bool lc_ctype_is_c(Oid collation);