pgsql: Deal with yet another issue related to "Norwegian (Bokmål)" loca

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Deal with yet another issue related to "Norwegian (Bokmål)" loca
Date: 2019-10-21 18:19:30
Message-ID: E1iMcHC-0007Ci-7G@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Deal with yet another issue related to "Norwegian (Bokmål)" locale.

It emerges that recent versions of Windows (at least 2016 Standard)
spell this locale name as "Norwegian Bokmål_Norway.1252", defeating
our mapping code that translates "Norwegian (Bokmål)_Norway" to
something that's all-ASCII (cf commits db29620d4 and aa1d2fc5e).
Add another mapping entry to handle this spelling.

Per bug #16068 from Robert Ford. Like the previous patches,
back-patch to all supported branches.

Discussion: https://postgr.es/m/16068-4cb6eeaa7eb46d93@postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/db477b691dc4e80bc8379d976ef53a0aa0afe4c0

Modified Files
--------------
src/port/win32setlocale.c | 4 ++++
1 file changed, 4 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2019-10-21 20:11:38 pgsql: Refactor jsonpath's compareDatetime()
Previous Message Tom Lane 2019-10-21 17:52:56 pgsql: Select CFLAGS_SL at configure time, not in platform-specific Mak