Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XW6dL-00008r-UI for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Sep 2014 16:38:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XW6dL-0005Pk-Cw for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Sep 2014 16:38:39 +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 1XW6dK-0005MX-Hd for pgsql-bugs@postgresql.org; Mon, 22 Sep 2014 16:38:38 +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 1XW6dF-0003hW-JA for pgsql-bugs@postgresql.org; Mon, 22 Sep 2014 16:38:35 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 701E52AC1E; Mon, 22 Sep 2014 09:38:31 -0700 (PDT) Received: from EX13-CAS-012.vmware.com (EX13-CAS-012.vmware.com [10.113.191.64]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id 6A27741380; Mon, 22 Sep 2014 09:38:31 -0700 (PDT) Received: from EX13-MBX-024.vmware.com (10.113.191.44) by EX13-MBX-003.vmware.com (10.113.191.23) with Microsoft SMTP Server (TLS) id 15.0.775.38; Mon, 22 Sep 2014 09:38:31 -0700 Received: from [192.168.1.90] (10.113.160.246) by EX13-MBX-024.vmware.com (10.113.191.44) with Microsoft SMTP Server (TLS) id 15.0.775.38; Mon, 22 Sep 2014 09:38:24 -0700 Message-ID: <5420507C.3050604@vmware.com> Date: Mon, 22 Sep 2014 19:38:20 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.0 MIME-Version: 1.0 To: Tom Lane CC: Noah Misch , Alon , Subject: =?UTF-8?B?UmU6IFtCVUdTXSBSZTogW0JVR1NdIFJlOiBCVUcgIzExNDMxOiBGYWk=?= =?UTF-8?B?bGluZyB0byBiYWNrdXAgYW5kIHJlc3RvcmUgYSBXaW5kb3dzIHBvc3RncmVzIGQ=?= =?UTF-8?B?YXRhYmFzZSwgd2l0aCBOb3J3ZWdpYW4gQm9rbcOlbCBsb2NhbGUu?= References: <20140915230427.2486.29437@wrigleys.postgresql.org> <1411164953375-5819745.post@n5.nabble.com> <20140921051846.GA1565935@tornado.leadboat.com> <7107.1411316005@sss.pgh.pa.us> <20140921180413.GA1585212@tornado.leadboat.com> <54203D19.5020202@vmware.com> <15763.1411402245@sss.pgh.pa.us> In-Reply-To: <15763.1411402245@sss.pgh.pa.us> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit 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: -7.9 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 09/22/2014 07:10 PM, Tom Lane wrote: > Heikki Linnakangas writes: >> I think we should map "Norwegian (Bokmål)" to "norwegian-bokmal", so >> that the mapping is applied to the return value of setlocale(). So when >> initdb does setlocale(NULL, "") to get the locale, we'll return >> "norwegian-bokmal", and that gets stored in the catalogs and >> postgresql.conf. > > That seems like a reasonable hack if there's only the one case ... > how sure are we about that? That's the only one I can see in MSDN documentation, and in the dropdown box in Windows 7. New languages and countries pop up every now and then, but overall the lists are fairly stable. And we could live with a few of these if we have to. - Heikki -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs