Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cTtxX-0003ur-SP for pgsql-committers@arkaria.postgresql.org; Wed, 18 Jan 2017 17:23:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cTtxX-0002yp-Dn for pgsql-committers@arkaria.postgresql.org; Wed, 18 Jan 2017 17:23:43 +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 1cTtxJ-0002im-Hs for pgsql-committers@postgresql.org; Wed, 18 Jan 2017 17:23:29 +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 1cTtxG-0003Qd-Fx for pgsql-committers@postgresql.org; Wed, 18 Jan 2017 17:23:28 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 27390209B0; Wed, 18 Jan 2017 12:23:25 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Wed, 18 Jan 2017 12:23:25 -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=OjLZ5laNqObDXIagQeWHtdGBpnY=; b=nM1xUYW6pt3D9vh9nA+h kwvof4GJsOsvKUfndSa5RiI5mhgpds7ZYoLKAE/3rlmh3Y/w2cDAKry0psJVRx7f wIGOx7D7L6QJEXDhx4JOLSCXiw2QSvWNMmMKJ5tDo2Wt6xro7uBLLJ4u1UBjMXs6 peCg/NMhDS/0DMnjMe965A0= X-ME-Sender: X-Sasl-enc: xGv1CYHv4IP8mVx0rRnGxQmmCosoOX9irI05z4xNR/bA 1484760204 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 C7EE824526; Wed, 18 Jan 2017 12:23:24 -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> Cc: pgsql-committers@postgresql.org From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <9b99c8c5-5a77-f1ae-6d90-bef0e85552a0@2ndquadrant.com> Date: Wed, 18 Jan 2017 12:23:24 -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: <2083.1484754187@sss.pgh.pa.us> 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 10:43 AM, Tom Lane wrote: > Maybe an appropriate fix would be to ignore collations whose names aren't > equal to what we get for collcollate/collctype. Presumably the latter > are getting canonicalized somehow. 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. -- 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