Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOmzc-0004z6-2I for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Dec 2017 16:01:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOmzb-0007jI-Lt for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Dec 2017 16:01:15 +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 1eOmzb-0007j5-FJ for pgsql-hackers@lists.postgresql.org; Tue, 12 Dec 2017 16:01:15 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eOmzV-00050u-Af for pgsql-hackers@postgresql.org; Tue, 12 Dec 2017 16:01:15 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id vBCG14sN001421; Tue, 12 Dec 2017 11:01:04 -0500 From: Tom Lane To: Robert Haas cc: Andres Freund , "pgsql-hackers@postgresql.org" Subject: Re: money type's overflow handling is woefully incomplete In-reply-to: References: <20171211225032.2phzzekso4337xmy@alap3.anarazel.de> Comments: In-reply-to Robert Haas message dated "Tue, 12 Dec 2017 10:49:29 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1419.1513094464.1@sss.pgh.pa.us> Date: Tue, 12 Dec 2017 11:01:04 -0500 Message-ID: <1420.1513094464@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Robert Haas writes: > Long story short, I don't think anyone cares about this enough to > spend effort fixing it. I suspect the money data type has very few > users. Somebody did contribute the effort not too long ago to install that overflow check into cash_in. So maybe somebody will step up and fix the other money functions. I can't get too excited about it in the meantime. regards, tom lane