Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhGzE-0003ai-Gr for pgsql-bugs@arkaria.postgresql.org; Mon, 14 Aug 2017 15:09:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dhGzE-00081Q-3Y for pgsql-bugs@arkaria.postgresql.org; Mon, 14 Aug 2017 15:09: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 1dhGyV-0006lP-6F for pgsql-bugs@postgresql.org; Mon, 14 Aug 2017 15:08:15 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dhGyJ-0006Uh-28 for pgsql-bugs@postgresql.org; Mon, 14 Aug 2017 15:08:13 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id B36AC20BB7; Mon, 14 Aug 2017 11:08:01 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Mon, 14 Aug 2017 11:08:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; 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= fm1; bh=W/Eyi2L2LvCe1XbOFYYrcGrMoKpYFbMrVTV5a//f53w=; b=YE7oy/UR d+Xwk7WhJFuNcjF1064ixxNmAtFsx5+8ULq/ao5ZNWce/4rM6k0Bfp5gnvsTfMaX 6tA8nQIl3p4yWHXvnVhHxlP0DLQ/50/w/764WYHFYsdphIFQRnZwDYVY3eudL+5b phTRPP3lbHEn2BF3YCpW+83hyx80hh9jFWMi6Zx5smc6YiC0CHlhl4Yw0uN7VnkP 3CU7wQOefOGsQYD9vsbEyFZCZQRQ28lwC/VG0dASJYdsGy9U7HPrcU8Z4XagMuCa cu3/YGNrpSmV2SwFD4fh4BJP2rCxeKhuvRA9v++nRzEkic65p+ITkE0TFy/TtpJw LO0KTaxql/OJVA== X-ME-Sender: X-Sasl-enc: /fXttqWQQuUyqkecfEvbfdM27a2Ci7/B+snG+agIgwTh 1502723281 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 6A5042473A; Mon, 14 Aug 2017 11:08:01 -0400 (EDT) Subject: Re: Crash report for some ICU-52 (debian8) COLLATE and work_mem values To: Robert Haas , Tom Lane 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> <10910.1502302068@sss.pgh.pa.us> Cc: Peter Geoghegan , Daniel Verite , PostgreSQL mailing lists From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <41a93c8c-686f-9baf-0115-b4345da45a1c@2ndquadrant.com> Date: Mon, 14 Aug 2017 11:08:00 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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 8/9/17 15:29, Robert Haas wrote: > On Wed, Aug 9, 2017 at 2:07 PM, Tom Lane wrote: >> 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. > > Yeah, that idea has some appeal. I think the manual workflow would be that you initdb the target instance, then log into the target instance to create the missing collations, then run pg_upgrade. While pg_upgrade could probably detect which collations are missing on the target side, I don't think it follows that it can just create the missing ones automatically. Manual intervention would be necessary (and desirable IMO) to analyze the situation. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs