|
|
|
@ -463,7 +463,6 @@ PGLC_localeconv(void) |
|
|
|
|
save_lc_numeric = pstrdup(save_lc_numeric); |
|
|
|
|
|
|
|
|
|
#ifdef WIN32 |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Ideally, monetary and numeric local symbols could be returned in any |
|
|
|
|
* server encoding. Unfortunately, the WIN32 API does not allow |
|
|
|
@ -645,7 +644,6 @@ cache_locale_time(void) |
|
|
|
|
save_lc_time = pstrdup(save_lc_time); |
|
|
|
|
|
|
|
|
|
#ifdef WIN32 |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* On WIN32, there is no way to get locale-specific time values in a |
|
|
|
|
* specified locale, like we do for monetary/numeric. We can only get |
|
|
|
@ -1172,7 +1170,6 @@ wchar2char(char *to, const wchar_t *from, size_t tolen, pg_locale_t locale) |
|
|
|
|
return 0; |
|
|
|
|
|
|
|
|
|
#ifdef WIN32 |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* On Windows, the "Unicode" locales assume UTF16 not UTF8 encoding, and |
|
|
|
|
* for some reason mbstowcs and wcstombs won't do this for us, so we use |
|
|
|
|