]> granicus.if.org Git - postgresql/commit
Deal with yet another issue related to "Norwegian (Bokmål)" locale.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Oct 2019 18:18:01 +0000 (14:18 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Oct 2019 18:18:16 +0000 (14:18 -0400)
commit4f2ad52269750c9f04121251a23e7f6ed1fb911c
treea7c67af228b02a2b7cf210c5ece2f719cb67d82d
parentca658c91ae724c0a093a039813666705ef0bcfa4
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
src/port/win32setlocale.c