pgsql: setlocale() on Windows doesn't work correctly if the locale name - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: setlocale() on Windows doesn't work correctly if the locale name
Date
Msg-id E1QAnFj-0005jk-3Y@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: setlocale() on Windows doesn't work correctly if the locale name  (Hiroshi Inoue <inoue@tpf.co.jp>)
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Magnus Hagander
Date:
Subject: pgsql: Specify which versions of the Platform SDK are supported
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: On Windows, if the encoding implied by locale is not allowed as