Re: [External] Re: BUG #14778: locale 'en-US' not recognized

From: "Burkhardt, Glenn B UTAS" <Glenn(dot)Burkhardt(at)utas(dot)utc(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: [External] Re: BUG #14778: locale 'en-US' not recognized
Date: 2017-08-10 19:56:54
Message-ID: 3c0de9d1693140fba416531f6a5a7d6f@UUSALE0M.utcmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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(dot)png(at)01D311F1(dot)4345E140]

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

glenn(dot)burkhardt(at)utas(dot)utc(dot)com<mailto:glenn(dot)burkhardt(at)utas(dot)utc(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Noah Misch 2017-08-11 01:51:07 Re: [BUGS] Replication to Postgres 10 on Windows is broken
Previous Message Tom Lane 2017-08-10 18:39:48 Re: BUG #14778: locale 'en-US' not recognized