From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: Re: [COMMITTERS] pgsql: Another attempt at fixing Windows Norwegian locale.
Date: Sun, 1 Feb 2015 18:45:39 +0100
Message-ID: <54CE6643.90406@vmware.com> (raw)
In-Reply-To: <18376.1422806202@sss.pgh.pa.us>
References: <E1YC55H-0000io-Lh@gemulon.postgresql.org>
<24160.1421417825@sss.pgh.pa.us>
<54B944BE.4040505@vmware.com>
<54BD66BD.1040106@vmware.com>
<21366.1422737550@sss.pgh.pa.us>
<54CDE700.9090704@vmware.com>
<18376.1422806202@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On 02/01/2015 04:56 PM, Tom Lane wrote:
> Heikki Linnakangas <hlinnakangas@vmware.com> writes:
>> On 01/31/2015 09:52 PM, Tom Lane wrote:
>>> What advice do we need to give 9.4 users?
>
>> I just downloaded the 9.4 EDB Windows installer and tried installing it.
>> initdb fails with the same error that I got after upgrading to more
>> recent MSVC version. "select version()" on the EDB binaries says:
>
>> version
>> -------------------------------------------------------------
>> PostgreSQL 9.4.0, compiled by Visual C++ build 1800, 64-bit
>> (1 row)
>
>> So there shouldn't be any existing Windows 9.4 installations that need
>> manual fixing, because the current binaries will just fail.
>
>> If there are any Norwegian users that have built Windows binaries
>> themselves, though, using an older MSVC version, then they would need to
>> follow the same manual fix-up steps to replace the "norwegian-bokmal"
>> locale names in pg_database with "Norwegian_Norway". Until they do,
>> CREATE DATABASE won't work (except with template=template0).
>
>> I suggest that we simply remove the notice about running the manual
>> steps from the 9.4.1 release notes.
>
> Hm. My understanding of the situation was that the "norwegian-bokmal"
> solution worked on some Windows versions but not others.
I'm no Windows expert, but believe that it's not the Windows version
you're running on that matters, but the CRT library used when building
the binaries.
> So it seems like the risk for 9.4 users is that they installed on a
> version where "norwegian-bokmal" works and then someday want to
> migrate the database to one where it doesn't. Maybe we don't need to
> address that, but I'm strongly tempted to keep the same instructions
> but phrase them as "change norwegian-bokmal to Norwegian_Norway if
> it's there".
That's fine by me, that advice is correct, although I believe that you
only encounter that situation if you had built the binaries yourself
with an older MSVC version.
- Heikki
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: hlinnakangas@vmware.com, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Another attempt at fixing Windows Norwegian locale.
In-Reply-To: <54CE6643.90406@vmware.com>
References: <E1YC55H-0000io-Lh@gemulon.postgresql.org> <24160.1421417825@sss.pgh.pa.us> <54B944BE.4040505@vmware.com> <54BD66BD.1040106@vmware.com> <21366.1422737550@sss.pgh.pa.us> <54CDE700.9090704@vmware.com> <18376.1422806202@sss.pgh.pa.us> <54CE6643.90406@vmware.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox