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

Started by Tom Lanealmost 7 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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: /messages/by-id/16068-4cb6eeaa7eb46d93@postgresql.org

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4f2ad52269750c9f04121251a23e7f6ed1fb911c

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