Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dfVOj-0006Dg-2y for pgsql-bugs@arkaria.postgresql.org; Wed, 09 Aug 2017 18:08:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dfVOi-0004ML-3J for pgsql-bugs@arkaria.postgresql.org; Wed, 09 Aug 2017 18:08:00 +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 1dfVOh-0004MA-I0 for pgsql-bugs@postgresql.org; Wed, 09 Aug 2017 18:07:59 +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 1dfVOe-00036K-TL for pgsql-bugs@postgresql.org; Wed, 09 Aug 2017 18:07:58 +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 v79I7mpE010911; Wed, 9 Aug 2017 14:07:48 -0400 From: Tom Lane To: Peter Geoghegan cc: Robert Haas , Peter Eisentraut , Daniel Verite , PostgreSQL mailing lists Subject: Re: Crash report for some ICU-52 (debian8) COLLATE and work_mem values In-reply-to: References: <57860965-169f-461b-81f0-60d398894938@manitou-mail.org> <10186.1501989988@sss.pgh.pa.us> <1b0681a0-83d6-4cce-cf6d-f90cfe3b2069@2ndquadrant.com> <32388.1502127050@sss.pgh.pa.us> Comments: In-reply-to Peter Geoghegan message dated "Wed, 09 Aug 2017 10:53:06 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <10909.1502302068.1@sss.pgh.pa.us> Date: Wed, 09 Aug 2017 14:07:48 -0400 Message-ID: <10910.1502302068@sss.pgh.pa.us> 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 Peter Geoghegan writes: > On Wed, Aug 9, 2017 at 10:35 AM, Robert Haas wrote: >> In other words, excluding, say, emoji collations from what gets >> imported is just making a value judgement that those collations aren't >> important and people shouldn't want to use them. > Yes, it is. I think that's fine, though. Other database systems that > use ICU for collations do this. Without exception, I think. Actually, I don't think that's the issue at all. People are free to make other ICU collations if they want to. My point is that we should encourage them to do that, rather than depend on initdb-provided collations, because manually-created collations are much more certain to move across version upgrades safely. If we were sure that pg_import_system_collations would produce pretty much the same set of collation names with future ICU releases as it does with current ones, then there would be no issue --- but the evidence at hand suggests the opposite. I want to do something to address that stability issue before it comes back to bite us. I suppose a different way to address this would be to make pg_upgrade smart enough to deal with the situation, by creating ICU collations that are used in the source installation but are missing from the initdb-provided set in the target. But even if we had that, I'm dubious that having hundreds of collations present by default is really all that user-friendly. 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