pgsql: setlocale() on Windows doesn't work correctly if the locale name
Heikki Linnakangas <heikki.linnakangas@iki.fi>
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@postgresql.org
Date: 2011-04-15T17:56:19Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
setlocale() on Windows doesn't work correctly if the locale name contains
- d5a7bf8c11c8 9.1.0 cited
setlocale() on Windows doesn't work correctly if the locale name contains apostrophes or dots. There isn't much hope of Microsoft fixing it any time soon, it's been like that for ages, so we better work around it. So, map a few common Windows locale names known to cause problems to aliases that work. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/d5a7bf8c11c8b66c822bbb1a6c90e1a14425bd6e Modified Files -------------- src/bin/initdb/initdb.c | 89 +++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 82 insertions(+), 7 deletions(-)