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 1kcpAI-0004BP-Pu for pgsql-hackers@arkaria.postgresql.org; Wed, 11 Nov 2020 12:23:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kcpAH-00056S-5q for pgsql-hackers@arkaria.postgresql.org; Wed, 11 Nov 2020 12:23:53 +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 1kcpAG-00056K-VO for pgsql-hackers@lists.postgresql.org; Wed, 11 Nov 2020 12:23:52 +0000 Received: from sfr-1.cri.mines-paristech.fr ([77.158.180.225] helo=smtp.cri.ensmp.fr) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcpAE-0001cQ-3E for pgsql-hackers@postgresql.org; Wed, 11 Nov 2020 12:23:52 +0000 Received: from pseudo (19.237.219.88.rev.sfr.net [88.219.237.19]) by smtp.cri.ensmp.fr (Postfix) with ESMTPSA id CC1BEC00BB; Wed, 11 Nov 2020 13:24:33 +0100 (CET) Date: Wed, 11 Nov 2020 13:23:46 +0100 (CET) From: Fabien COELHO X-X-Sender: fabien@pseudo To: "kuroda.hayato@fujitsu.com" cc: Andres Freund , Daniel Gustafsson , "pgsql-hackers@postgresql.org" Subject: RE: pgbench: option delaying queries till connections establishment? In-Reply-To: Message-ID: References: <20200227180100.zyvjwzcpiokfsqm2@alap3.anarazel.de> <20200227185129.hikscyenomnlrord@alap3.anarazel.de> <20200304174003.ovg5wml4mrgheyio@alap3.anarazel.de> <6AA0DF24-8F6B-4329-AA3B-85B167599747@yesql.se> 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: Precedence: bulk Hello, >> I can remove the line, but I strongly believe that reporting performance >> figures if some client connection failed thus the bench could not run as >> prescribed is a bad behavior. The good news is that it is probably quite >> unlikely. So I'd prefer to keep it and possibly submit a patch to change >> the behavior. > > I agree such a situation is very bad, and I understood you have a plan to > submit patches for fix it. If so leaving lines as a TODO is OK. Thanks. >> Should be this one: https://commitfest.postgresql.org/30/2624/ > > This discussion is still on-going, but I can see that the starting time > may be delayed for looking up all pgbench-variables. Yep, that's it. > (I think the status of this thread might be wrong. it should be > 'Needs review,' but now 'Waiting on Author.') I changed it to "Needs review". > This patch is mostly good and can change a review status soon, > however, I think it should wait that related patch. Hmmm. > Please discuss how to fix it with Tom, I would not have the presumption to pressure Tom's agenda in any way! > and this will commit soon. and this will wait till its time comes. In the mean time, I think that you should put the patch status as you see fit, independently of the other patch: it seems unlikely that they would be committed together, and I'll have to merge the remaining one anyway. -- Fabien.