Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diVqp-0002UN-Uo for pgsql-bugs@arkaria.postgresql.org; Fri, 18 Aug 2017 01:13:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1diVqp-0007RF-BD for pgsql-bugs@arkaria.postgresql.org; Fri, 18 Aug 2017 01:13:27 +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 1diVqn-0007PX-7g for pgsql-bugs@postgresql.org; Fri, 18 Aug 2017 01:13:25 +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 1diVqj-0005iZ-Ly for pgsql-bugs@postgresql.org; Fri, 18 Aug 2017 01:13:23 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 45F4420C6C; Thu, 17 Aug 2017 21:13:20 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Thu, 17 Aug 2017 21:13:20 -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=upsVqGcbNdedaRxt4eB6Xcz6KFEiz9UuqRcqks6/ZuI=; b=bjn7JcH7 2mQ0U/W+m7OS4AGy+nV+2pbOXbbcx2b4G857ZkAR0OUq1rubiWLts6BTBCH0Veqz 2ABcnMAMnDPrQAz/k8dkh1IWpk2mJ2op+/irHi1NEph4RJJuYNMQzEAP8EjQQY6v lWwV+TjcovGZtCU3jw2pDbPyzh77fOD28iExLyE2i9vKDRDVfBU3JddgaaV3PAGQ WtI3AkPMzv6iJWUjhq7AYL7nu7ipHP3z5mcvzlkLSDV7nnUetuT0cykgNzhFzpsk psOhNbxbpwtUuJ8nW4XGKv7RFTb5WqqEB4w2ORLH1P0dPvMaXUhLKBWk8HvBSFFq uEoPjBchr8wxcg== X-ME-Sender: X-Sasl-enc: OH+9W78JeIkHJTN1YaEfUiekBFtwOYNZoR18ySMn3kJ5 1503018800 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 7E323240A4; Thu, 17 Aug 2017 21:13:19 -0400 (EDT) Subject: Re: Crash report for some ICU-52 (debian8) COLLATE and work_mem values To: Peter Geoghegan , Tom Lane References: <57860965-169f-461b-81f0-60d398894938@manitou-mail.org> <10910.1502302068@sss.pgh.pa.us> <8830.1502313961@sss.pgh.pa.us> <5261d23c-1864-bec9-538c-24f25c7629cc@2ndquadrant.com> <13673.1502733657@sss.pgh.pa.us> <28715.1502735531@sss.pgh.pa.us> <7355.1502738237@sss.pgh.pa.us> <25202.1502752318@sss.pgh.pa.us> Cc: Robert Haas , Daniel Verite , PostgreSQL mailing lists From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Thu, 17 Aug 2017 21:13:18 -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/14/17 23:55, Peter Geoghegan wrote: > pg_import_system_collations() should simply use uloc_countAvailable() > + uloc_getAvailable, rather than ucol_countAvailable() + > ucol_getAvailable(). It's not clear to me that this is better. Why do we need to use a function that is clearly not the preferred API for this ("col" vs "loc") just to get more entries? If we go down this route, then we'll be on the hook forever to keep adding more and more predefined entries by whatever means necessary. -- 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