Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XW6CX-0007Gt-Pq for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Sep 2014 16:10:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XW6CX-0003Xy-4O for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Sep 2014 16:10:57 +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 1XW6CW-0003Xr-2r for pgsql-bugs@postgresql.org; Mon, 22 Sep 2014 16:10:56 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XW6CN-0003EJ-NH for pgsql-bugs@postgresql.org; Mon, 22 Sep 2014 16:10:54 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s8MGAjZ3015764; Mon, 22 Sep 2014 12:10:46 -0400 From: Tom Lane To: Heikki Linnakangas cc: Noah Misch , Alon , pgsql-bugs@postgresql.org Subject: Re: =?windows-1252?Q?Re=3A_=5BBUGS=5D_Re=3A_BUG_=2311431=3A_?= =?windows-1252?Q?Failing_to_backup_and_restore_a_Windows_p?= =?windows-1252?Q?ostgres_database=2C_with_Norwegian_Bokm=E5l_l?= =?windows-1252?Q?ocale=2E?= In-reply-to: <54203D19.5020202@vmware.com> 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> Comments: In-reply-to Heikki Linnakangas message dated "Mon, 22 Sep 2014 18:15:37 +0300" Date: Mon, 22 Sep 2014 12:10:45 -0400 Message-ID: <15763.1411402245@sss.pgh.pa.us> X-Pg-Spam-Score: -2.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 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? 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