Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cTu0i-00047I-P1 for pgsql-committers@arkaria.postgresql.org; Wed, 18 Jan 2017 17:27: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 1cTu0i-0003Kn-2g for pgsql-committers@arkaria.postgresql.org; Wed, 18 Jan 2017 17:27:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cTu0U-00035t-Cl for pgsql-committers@postgresql.org; Wed, 18 Jan 2017 17:26:46 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cTu0Q-0004QA-Ed for pgsql-committers@postgresql.org; Wed, 18 Jan 2017 17:26:45 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 3FA722070C; Wed, 18 Jan 2017 12:26:41 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Wed, 18 Jan 2017 12:26:41 -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=hrK4uYUoLwRG8uLHNA80pqEwp5M=; b=q/WYTOdsa/qVNWpx8n5W 0smyva+K53cMm4yKrxAFk4yMvIgpCSPeGPubsmJfyViAEnrQZaOFoh0YjuuFSyv/ SRQxaQtL+spP8mygtfiCP66c8av4j0INRVBJQdd/lbAK3dTkVys6Di7jXEsI/g+b ST5eC71UB9Q7Ply+sOYMooU= X-ME-Sender: X-Sasl-enc: HzRQxP5NuhEuy5dyuk+fwlyhN3VY52ZvVPAnwpRhotvB 1484760401 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 092C8244AE; Wed, 18 Jan 2017 12:26:41 -0500 (EST) Subject: Re: pgsql: Add function to import operating system collations To: Tom Lane References: <26116.1484751196@sss.pgh.pa.us> <2083.1484754187@sss.pgh.pa.us> <9b99c8c5-5a77-f1ae-6d90-bef0e85552a0@2ndquadrant.com> Cc: pgsql-committers@postgresql.org From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <1b7a27c7-5c81-541f-ae51-0282ab8cd5e9@2ndquadrant.com> Date: Wed, 18 Jan 2017 12:26:40 -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: <9b99c8c5-5a77-f1ae-6d90-bef0e85552a0@2ndquadrant.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 1/18/17 12:23 PM, Peter Eisentraut wrote: > Yeah, it's supposed to do that. Note that the second call to > CollationCreate() in pg_import_system_collations() has the "if not > exists" argument true regardless. So the error appears to come from the > first one. > > What's fishy about this is that I can't reproduce it locally in a > variety of VMs, and the buildfarm is not unanimous either. OK, the problem has to do with the order of the locale -a output, which is in turn dependent on the current locale. I'll think of something. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers