Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cV2Gv-0004FJ-Ly for pgsql-hackers@arkaria.postgresql.org; Sat, 21 Jan 2017 20:28:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cV2Gv-0003hR-7H for pgsql-hackers@arkaria.postgresql.org; Sat, 21 Jan 2017 20:28:25 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cV2Gt-0003dg-N6 for pgsql-hackers@postgreSQL.org; Sat, 21 Jan 2017 20:28:23 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cV2Gr-00045n-0G for pgsql-hackers@postgreSQL.org; Sat, 21 Jan 2017 20:28:22 +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 v0LKSJ23005105; Sat, 21 Jan 2017 15:28:19 -0500 From: Tom Lane To: Peter Eisentraut cc: pgsql-hackers@postgreSQL.org Subject: Re: [COMMITTERS] pgsql: Add function to import operating system collations In-reply-to: <80290b4f-2557-06a8-2909-1c5055943768@2ndquadrant.com> References: <31434.1485021059@sss.pgh.pa.us> <80290b4f-2557-06a8-2909-1c5055943768@2ndquadrant.com> Comments: In-reply-to Peter Eisentraut message dated "Sat, 21 Jan 2017 15:17:26 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5103.1485030499.1@sss.pgh.pa.us> Date: Sat, 21 Jan 2017 15:28:19 -0500 Message-ID: <5104.1485030499@sss.pgh.pa.us> X-Pg-Spam-Score: -5.1 (-----) 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 Peter Eisentraut writes: > On 1/21/17 12:50 PM, Tom Lane wrote: >> I have to question the decision to make "no locales" a hard error. >> What's the point of that? In fact, should we even be bothering with >> a warning, considering how often initdb runs unattended these days? > Hmm, it was a warning in initdb, so making it an error now is probably a > mistake. We should change it back to a warning at least. I'd drop it altogether I think ... it was useful debug back in the day but now I doubt it is worth much. > Also, if we add ICU initialization to this, then it's not clear how we > would report if one provider provided zero locales but another did > provide some. Would it help to redefine the function as returning the number of locale entries it successfully added? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers