File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change 7070#include <unicode/ucnv.h>
7171#endif
7272
73- #ifdef __GLIBC__
74- #include <gnu/libc-version.h>
75- #endif
76-
7773#ifdef WIN32
7874/*
7975 * This Windows file defines StrNCpy. We don't need it here, so we undefine
@@ -1503,7 +1499,7 @@ pg_newlocale_from_collation(Oid collid)
15031499char *
15041500get_collation_actual_version (char collprovider , const char * collcollate )
15051501{
1506- char * collversion = NULL ;
1502+ char * collversion ;
15071503
15081504#ifdef USE_ICU
15091505 if (collprovider == COLLPROVIDER_ICU )
@@ -1527,13 +1523,7 @@ get_collation_actual_version(char collprovider, const char *collcollate)
15271523 }
15281524 else
15291525#endif
1530- if (collprovider == COLLPROVIDER_LIBC )
1531- {
1532- #if defined(__GLIBC__ )
1533- /* Use the glibc version because we don't have anything better. */
1534- collversion = pstrdup (gnu_get_libc_version ());
1535- #endif
1536- }
1526+ collversion = NULL ;
15371527
15381528 return collversion ;
15391529}
You can’t perform that action at this time.
0 commit comments