Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogrd5-0001uB-EO for pgsql-committers@arkaria.postgresql.org; Fri, 07 Oct 2022 17:59:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ogrd4-0000YW-6d for pgsql-committers@arkaria.postgresql.org; Fri, 07 Oct 2022 17:59:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogrd3-0000Y9-W6 for pgsql-committers@lists.postgresql.org; Fri, 07 Oct 2022 17:59:21 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogrd1-0007xo-Sk for pgsql-committers@lists.postgresql.org; Fri, 07 Oct 2022 17:59:20 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 297HxIA83192765; Fri, 7 Oct 2022 13:59:18 -0400 From: Tom Lane To: Peter Eisentraut cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Remove unnecessary uses of Abs() In-reply-to: <11e02543-b480-cb6b-1271-6438841b1b8a@enterprisedb.com> References: <3155926.1665153496@sss.pgh.pa.us> <11e02543-b480-cb6b-1271-6438841b1b8a@enterprisedb.com> Comments: In-reply-to Peter Eisentraut message dated "Fri, 07 Oct 2022 19:55:17 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3192763.1665165558.1@sss.pgh.pa.us> Date: Fri, 07 Oct 2022 13:59:18 -0400 Message-ID: <3192764.1665165558@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Peter Eisentraut writes: > fsec is of type fsec_t, which is int32. So these expressions are > integer all the way through. Ah, okay. My instincts were leftover from a time when it could have been float8. Sorry for the noise. regards, tom lane