Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePaGj-00087s-DH for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Dec 2017 20:38:13 +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 1ePaGi-0003Hx-VU for pgsql-hackers@arkaria.postgresql.org; Thu, 14 Dec 2017 20:38:12 +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 1ePaGi-0003Hn-Ls for pgsql-hackers@lists.postgresql.org; Thu, 14 Dec 2017 20:38:12 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ePaGb-0004r8-Vo for pgsql-hackers@postgresql.org; Thu, 14 Dec 2017 20:38:11 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 5098020BB3; Thu, 14 Dec 2017 15:38:05 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Thu, 14 Dec 2017 15:38:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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; s=fm1; bh=wKlmQ6 3J/kGbpCVZtgIr2fs+MkkmGcEq0dK40dtvuSE=; b=byLbzzEgD4ru2FS98aBkDX sTmlADBI4zvWfN+t7O6cnjcFVt7/RNdIQSiL6RGs5AmdvfjzvC1jcJ6JYA4Zu5H3 uzuoD7rmoHNGKWW5Ath4ItV4IntFyyKTOH9GyjpjjtjxK0BewjyrKugIuPBtfflj b/c00lIGMs0hq1ljS85TkDwDszMphPXqAs0g5t+dM240sKYUfyfquPVNr7pQUGdA lqF4UiaUj7/kIJfLPNvPIjvadsGEb4YF2pNC5K1Fh9HpPKqRBiK9Rni/6yueu8He bVCjvm9cFyQCoPopunEJZlQRw2jmI9pz1HnNHg5qn1c3xDOB2U3Sug8QEdS9uydg == X-ME-Sender: Received: from intern.anarazel.de (75-144-246-5-sfba.hfc.comcastbusiness.net [75.144.246.5]) by mail.messagingengine.com (Postfix) with ESMTPA id B1B8C7E4C5; Thu, 14 Dec 2017 15:38:04 -0500 (EST) Date: Thu, 14 Dec 2017 12:38:03 -0800 From: Andres Freund To: Christoph Berg , pgsql-committers Subject: Re: pgsql: Provide overflow safe integer math inline functions. Message-ID: <20171214203803.fgjhg46yecdnjk3x@alap3.anarazel.de> References: <20171213101037.GA28753@msg.df7cb.de> <20171213173524.rjs7b3ahsong5zko@alap3.anarazel.de> <20171214082808.GA5775@msg.df7cb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171214082808.GA5775@msg.df7cb.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2017-12-14 09:28:08 +0100, Christoph Berg wrote: > Re: Andres Freund 2017-12-13 <20171213173524.rjs7b3ahsong5zko@alap3.anarazel.de> > > After staring at it for a while, I seem to have partially mis-copied the > > note for addition to the subtraction operation... > > I believe the attached is the correct version. Thanks! Pushed. Schönen Abend, Andres