Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YHyb2-0001Oj-VK for pgsql-hackers@arkaria.postgresql.org; Sun, 01 Feb 2015 17:46:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YHyb1-0004ia-Bk for pgsql-hackers@arkaria.postgresql.org; Sun, 01 Feb 2015 17:46:07 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YHyb0-0004iT-Gl for pgsql-hackers@postgresql.org; Sun, 01 Feb 2015 17:46:06 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YHyav-0002dE-TX for pgsql-hackers@postgresql.org; Sun, 01 Feb 2015 17:46:03 +0000 Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 7B675286A6; Sun, 1 Feb 2015 09:45:59 -0800 (PST) Received: from EX13-CAS-004.vmware.com (EX13-CAS-004.vmware.com [10.113.191.54]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id 7742FB07ED; Sun, 1 Feb 2015 09:45:59 -0800 (PST) Received: from [10.19.54.158] (10.113.160.246) by EX13-MBX-024.vmware.com (10.113.191.44) with Microsoft SMTP Server (TLS) id 15.0.913.22; Sun, 1 Feb 2015 09:45:53 -0800 Message-ID: <54CE6643.90406@vmware.com> Date: Sun, 1 Feb 2015 18:45:39 +0100 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 MIME-Version: 1.0 To: Tom Lane CC: PostgreSQL-development Subject: Re: Re: [COMMITTERS] pgsql: Another attempt at fixing Windows Norwegian locale. References: <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> In-Reply-To: <18376.1422806202@sss.pgh.pa.us> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.113.160.246] X-ClientProxiedBy: EX13-CAS-013.vmware.com (10.113.191.65) To EX13-MBX-024.vmware.com (10.113.191.44) X-Pg-Spam-Score: -6.9 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 02/01/2015 04:56 PM, Tom Lane wrote: > Heikki Linnakangas 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