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

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 185253ab847b95c793e3bae861611ae07a06d7c4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2019-10-21T18:18:47Z
Releases: 9.6.16
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

Files

PathChange+/−
src/port/win32setlocale.c modified +4 −0

Discussion