BUG #14778: locale 'en-US' not recognized

Started by Burkhardt, Glenn B UTASover 8 years ago3 messagesbugs
Jump to latest
#1Burkhardt, Glenn B        UTAS
Glenn.Burkhardt@utas.utc.com

The following bug has been logged on the website:

Bug reference: 14778
Logged by: Glenn Burkhardt
Email address: glenn.burkhardt@utas.utc.com
PostgreSQL version: 9.6.3
Operating system: Windows 10
Description:

For an unattended install with options "--mode unattended --locale en-US",
the installation fails claiming that no such locale exists. However,
--locale "English, United States" works. The standard Microsoft designation
of "en-US" is not recognized.

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Burkhardt, Glenn B UTAS (#1)
Re: BUG #14778: locale 'en-US' not recognized

glenn.burkhardt@utas.utc.com writes:

For an unattended install with options "--mode unattended --locale en-US",
the installation fails claiming that no such locale exists. However,
--locale "English, United States" works. The standard Microsoft designation
of "en-US" is not recognized.

You sure that's standard? Everyone else spells it like "en_US".

(I would certainly not put it past Microsoft to be randomly different
from every other system, but pilot error seems more likely here.)

regards, tom lane

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#3Burkhardt, Glenn B        UTAS
Glenn.Burkhardt@utas.utc.com
In reply to: Tom Lane (#2)
Re: [External] Re: BUG #14778: locale 'en-US' not recognized

I tried both "en_US" and "en-US". Neither worked. On this page it's listed:

https://msdn.microsoft.com/en-us/library/cc233982.aspx

[cid:image002.png@01D311F1.4345E140]

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Thursday, August 10, 2017 14:40
To: Burkhardt, Glenn B UTAS
Cc: pgsql-bugs@postgresql.org
Subject: [External] Re: [BUGS] BUG #14778: locale 'en-US' not recognized

glenn.burkhardt@utas.utc.com<mailto:glenn.burkhardt@utas.utc.com> writes:

For an unattended install with options "--mode unattended --locale

en-US", the installation fails claiming that no such locale exists.

However, --locale "English, United States" works. The standard

Microsoft designation of "en-US" is not recognized.

You sure that's standard? Everyone else spells it like "en_US".

(I would certainly not put it past Microsoft to be randomly different from every other system, but pilot error seems more likely here.)

regards, tom lane

Attachments:

image002.pngimage/png; name=image002.pngDownload