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 1o2G0q-0005Hx-Jf for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Jun 2022 17:44:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o2G0o-0001uk-QI for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Jun 2022 17:44:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o2G0o-0001ua-Gv for pgsql-hackers@lists.postgresql.org; Fri, 17 Jun 2022 17:44:02 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o2G0k-0003JP-Sw for pgsql-hackers@postgresql.org; Fri, 17 Jun 2022 17:44:02 +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 25HHhnJp1261897; Fri, 17 Jun 2022 13:43:49 -0400 From: Tom Lane To: Andres Freund cc: David Rowley , Peter Geoghegan , PostgreSQL-development , Nikita Glukhov , Andrew Dunstan Subject: Re: PG 15 (and to a smaller degree 14) regression due to ExprEvalStep size In-reply-to: <20220617173055.oaqns4ty235vlyyw@alap3.anarazel.de> References: <20220616233130.rparivafipt6doj3@alap3.anarazel.de> <20220617052228.mjwns6ugspihamsc@alap3.anarazel.de> <20220617062456.ahbwho67m7c3lnr3@alap3.anarazel.de> <1221363.1655476388@sss.pgh.pa.us> <20220617173055.oaqns4ty235vlyyw@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Fri, 17 Jun 2022 10:30:55 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1261895.1655487829.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 17 Jun 2022 13:43:49 -0400 Message-ID: <1261896.1655487829@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > I should have been more precise - what I meant was a timeout.c API that = allows > the caller to pass in "now", which in this case we'd get from > GetCurrentTransactionStopTimestamp(), which would avoid the additional > timestamp computation. I don't care for that one bit: it makes the accuracy of all timeouts dependent on how careful that caller is to provide an up-to-date "now". In the example at hand, there is WAY too much code between SetCurrentTransactionStopTimestamp() and the timer arming to make me think the results will be acceptable. regards, tom lane