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 1nt3lm-0005YI-9Q for pgsql-hackers@arkaria.postgresql.org; Mon, 23 May 2022 08:50:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nt3km-0000Lc-Lf for pgsql-hackers@arkaria.postgresql.org; Mon, 23 May 2022 08:49:28 +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 1nt3km-0000LS-Bx for pgsql-hackers@lists.postgresql.org; Mon, 23 May 2022 08:49:28 +0000 Received: from sfr-1.cri.mines-paristech.fr ([77.158.180.225] helo=smtp.cri.ensmp.fr) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nt3kj-0008UH-A5 for pgsql-hackers@lists.postgresql.org; Mon, 23 May 2022 08:49:27 +0000 Received: from laroche-adap.cri.ensmp.fr (laroche-adap.cri.ensmp.fr [10.2.14.39]) by smtp.cri.ensmp.fr (Postfix) with ESMTPSA id 5CEE4C007F; Mon, 23 May 2022 10:53:02 +0200 (CEST) Date: Mon, 23 May 2022 10:49:22 +0200 (CEST) From: Fabien COELHO X-X-Sender: fabien@pseudo To: Peter Eisentraut cc: Tom Lane , Richard Guo , Pg Hackers Subject: Re: psql now shows zero elapsed time after an error In-Reply-To: <31e904d3-59d8-1052-967e-f38f752dca12@enterprisedb.com> Message-ID: References: <3813350.1652111765@sss.pgh.pa.us> <31e904d3-59d8-1052-967e-f38f752dca12@enterprisedb.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk >> Probably it would be appropriate to add a test case. I'll propose something >> later. > > committed with a test Thanks! -- Fabien.