Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fjnVk-00032m-5s for pgsql-committers@arkaria.postgresql.org; Sun, 29 Jul 2018 15:21:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fjnVh-0002Kr-Qg for pgsql-committers@arkaria.postgresql.org; Sun, 29 Jul 2018 15:21:29 +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.89) (envelope-from ) id 1fjnVh-0002KM-LT for pgsql-committers@lists.postgresql.org; Sun, 29 Jul 2018 15:21:29 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fjnVd-0001NZ-U1 for pgsql-committers@lists.postgresql.org; Sun, 29 Jul 2018 15:21:28 +0000 Received: by mail-wr1-x441.google.com with SMTP id q10-v6so10016631wrd.4 for ; Sun, 29 Jul 2018 08:21:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=AsU+GZoqkP56BcFgIvaQFdEmf91E48JkwYYgyJtmp/8=; b=bzoxUXy3UqjxdPBGsGte/1PKcknGLHXNm01YM4qBB8rkPLOMxxTaSpaO2SXTWnqWib aOhCBNsRgXPeQRkplyh83yqycCb9GFyX65+bplpTZsfwCoqvCYH0vSGW1TJ/Nk+SBRdj 9y0oVNqGYoKY/2qavwZhiupjpBLK1DRMYWFh5xTGNAL+cNrYwGnP94+Ev8t9KmMRUNMv JPq9zinnD5kloILdHl2QAWD6jpmlQS+HSXvECIjqihx20XcvweWAoKyNG3gHM3vvM5V6 fGCaGOiqAFEd3TPQzLFSpPZiYhsGlReKi9LlShSD3vI+Qs/XYkjUAQ8q0xJSvFqp8xKM 6o7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=AsU+GZoqkP56BcFgIvaQFdEmf91E48JkwYYgyJtmp/8=; b=Waktx+fXElauKQKB+tANS2v03GMC/zHyjUg3eFZMszlhPAGJFeDdcEnnIRxMIcGgBA YzfYietW6pMP7OQMEjtTXFaObIAm0Gx0tABTBmrp8MaOd+cNAjml3DkkT5mJSBEBMRfg fkPyon/i5Res/WPALIV92emB8FBtvGsXGWjtE7LQnmoH3zdp0r6uQ2A2bexKP4wmHkgm LS87rWxaEcjrHryPXSZA7vkK/heQCMILnuma0ei8m79wGB/NKTsNyTqh68ClFvZWHcuV PJBivlamfBXynnlfXaK6+SsjoJIXPqgRMeZHt2rdblqK4CcPNW5GIJb6aZfypMlbMk7Q a4mA== X-Gm-Message-State: AOUpUlFlyIc7FkH2xb+BF816sMYFRh8iWUDydIXRb//58oOfKtPJ1W05 dUH+h1TH7EXgBPK2dMAIPR78Mthh7cIwz7NUBzoKBo+NGyWqcOIRfGTUzynkiXWxjGNJvtyP0KM a9JEF+DlbMo9UN5OPv0iXtRTVl6DS+gTowIjwvLcKfXBnJQvGl2uRqpL6JszcHgb/IYAao1Yjls 5TA792NDvCO/L66VEj6CJEf10= X-Google-Smtp-Source: AAOMgpc7k6EKKCFEH9GyYWwe291Z/bZDL0tobPGPE8sCcOhTcHVbgo3Hs8YS6cdKIn0URq2nOqQCkg== X-Received: by 2002:a5d:5201:: with SMTP id j1-v6mr13661219wrv.198.1532877684759; Sun, 29 Jul 2018 08:21:24 -0700 (PDT) Received: from [10.137.2.19] (ip-78-102-97-226.net.upcbroadband.cz. [78.102.97.226]) by smtp.gmail.com with ESMTPSA id z11-v6sm20163623wrm.94.2018.07.29.08.21.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Jul 2018 08:21:24 -0700 (PDT) Subject: Re: pgsql: Refactor geometric functions and operators To: Michael Paquier , Tomas Vondra Cc: pgsql-committers@lists.postgresql.org References: <20180729145932.GE1471@paquier.xyz> From: Tomas Vondra Message-ID: <681b1c97-513a-0dcd-de8a-6f6a04547d1e@2ndquadrant.com> Date: Sun, 29 Jul 2018 17:21:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180729145932.GE1471@paquier.xyz> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 07/29/2018 04:59 PM, Michael Paquier wrote: > On Sun, Jul 29, 2018 at 12:43:29AM +0000, Tomas Vondra wrote: >> Refactor geometric functions and operators >> >> The primary goal of this patch is to eliminate duplicate code and share >> code between different geometric data types more often, to prepare the >> ground for additional patches. Until now the code reuse was limited, >> probably because the simpler types (line and point) were implemented >> after the more complex ones. > > It looks that this commit has upset a couple of OSX animals, locus and > prairiedog: > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=locust&dt=2018-07-29%2013%3A13%3A35 > > Some AIX animals are also upset for the same reason with the handling > of a negative sign with 0. Yeah, the commit broke this by inadvertedly undoing 43fe90f66a0 :-( I've posted a fix to hackers [1]. If someone with access to an affected machine could test if it actually does the trick, that would be nice. [1] https://www.postgresql.org/message-id/2fce5d35-2f07-8d72-42ec-81ed97fbe640%402ndquadrant.com -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services