mirror of
https://github.com/postgres/postgres.git
synced 2025-12-09 02:08:45 +03:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user