Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1inTGd-0007PM-8o for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Jan 2020 20:09:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1inTGb-0001Fc-VS for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Jan 2020 20:09:53 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1inTGb-0001FR-MR for pgsql-hackers@lists.postgresql.org; Fri, 03 Jan 2020 20:09:53 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1inTGT-0005rc-Md for pgsql-hackers@lists.postgresql.org; Fri, 03 Jan 2020 20:09:52 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 593F04A9; Fri, 3 Jan 2020 15:09:42 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Fri, 03 Jan 2020 15:09:42 -0500 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=HnBHdmaCGZenh/zkyYPQwObNI5abd4i9hyQGN1+3c jw=; b=iSHbCHqU5/ExejTUz2j+0KucMXP4xmI1zENQAkzExcc9Xr+ljeSLdf1Gc jI0PI77BZaJGcER7lCYwa3zddoF3AoftSh4e0LYGwAOnjIHX5YctBAAgSA+mXgu6 P6d/yM/vD40UyMKFL1trH+4OcudU57pDZtJWMW0phB9oDjS7ogPE7Y1r56CvR8Qc yoMrG4V8spqtxzo1LQEuLHxpSzXk9JK47kN0ht1O1BMO/nJcixzLq+/3bf9vaHym lEqe2d1z8NW58xyZHZTKH1ysxBmZTuMX1jhVpRyqMvoLAMgj1adMP6ILaLu8gcFX je77Qb0r1GwJY4xgRZaLybqhDBT5A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdegfedgudeffecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhfhokffffgggjggtgfesthejredttdefjeenucfhrhhomheprfgv thgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsedvnh guqhhurggurhgrnhhtrdgtohhmqeenucffohhmrghinhepvdhnughquhgrughrrghnthdr tghomhenucfkphepleefrddvgeefrddukeejrddugeegnecurfgrrhgrmhepmhgrihhlfh hrohhmpehpvghtvghrrdgvihhsvghnthhrrghuthesvdhnughquhgrughrrghnthdrtgho mhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from april.pezone.net (p5df3bb90.dip0.t-ipconnect.de [93.243.187.144]) by mail.messagingengine.com (Postfix) with ESMTPA id EB8A03060774; Fri, 3 Jan 2020 15:09:39 -0500 (EST) Subject: Re: Greatest Common Divisor To: Tom Lane References: <5E08D947.9000902@anastigmatix.net> <2f086c37-918a-399a-0d24-949bc5a666e4@2ndquadrant.com> <18358.1578064922@sss.pgh.pa.us> Cc: Dean Rasheed , Vik Fearing , Fabien COELHO , Chapman Flack , PostgreSQL Hackers From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Fri, 3 Jan 2020 21:09:38 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <18358.1578064922@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-01-03 16:22, Tom Lane wrote: > Peter Eisentraut writes: >> On 2020-01-02 15:50, Dean Rasheed wrote: >>> Out of curiosity, what was the original use-case for this? > >> Yeah, I'm wondering, is this useful for any typical analytics or >> business application? Otherwise, abstract algebra functionality seems a >> bit out of scope. > > Nobody complained when we added sinh, cosh, tanh, asinh, acosh, atanh > last year, so I'm feeling skeptical of claims that gcd should be out > of scope. Geometry is generally in scope, though, for Postgres specifically and for databases in general. Abstract algebra is not in scope, so far, and we still haven't been told the use case for this. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services