Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cV26O-0003l2-GV for pgsql-hackers@arkaria.postgresql.org; Sat, 21 Jan 2017 20:17:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cV26O-0001aa-3H for pgsql-hackers@arkaria.postgresql.org; Sat, 21 Jan 2017 20:17:32 +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 1cV26M-0001Wy-J6 for pgsql-hackers@postgreSQL.org; Sat, 21 Jan 2017 20:17:30 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cV26J-0003r4-OP for pgsql-hackers@postgreSQL.org; Sat, 21 Jan 2017 20:17:29 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id C68A820842; Sat, 21 Jan 2017 15:17:26 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Sat, 21 Jan 2017 15:17:26 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=kJJQjczq5v4L1z/xAknsqUpyRcI=; b=JiiznH9aDbgcOFFOiKII X+LStTd/b2Q/BMrmFZY352vGbUewZjy5D8UpjK2PKHjGTuxVSAayNQhh69U9iZZR Z7IVfWRFP11P3tkAGDOmTaiycDSAOpC4SIPq4XKRJ/9nk9lHzp2RSBwJsBW2WR7b PjiQPNo39fMDtRSYwG35zgI= X-ME-Sender: X-Sasl-enc: UlT7W+Z7ziDKO5tRjIPVb73y2TFbru6JZPy3OAg7XNyJ 1485029846 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 7F11C24424; Sat, 21 Jan 2017 15:17:26 -0500 (EST) Subject: Re: [COMMITTERS] pgsql: Add function to import operating system collations To: Tom Lane References: <31434.1485021059@sss.pgh.pa.us> Cc: pgsql-hackers@postgreSQL.org From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <80290b4f-2557-06a8-2909-1c5055943768@2ndquadrant.com> Date: Sat, 21 Jan 2017 15:17:26 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <31434.1485021059@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.6 (--) 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 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. The reason for the warning originally was to have some output in case the whole collation initialization fails altogether and does nothing. For example, at the time, we didn't know how reliable and portable `locale -a` actually was. Maybe this didn't actually turn out to be a problem. 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. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers