Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i7Vex-00083G-6w for pgsql-committers@arkaria.postgresql.org; Tue, 10 Sep 2019 02:13:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i7Veu-0004S6-WC for pgsql-committers@arkaria.postgresql.org; Tue, 10 Sep 2019 02:13:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i7Veu-0004MV-LX for pgsql-committers@lists.postgresql.org; Tue, 10 Sep 2019 02:13:32 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1i7Ves-0008W2-7t for pgsql-committers@lists.postgresql.org; Tue, 10 Sep 2019 02:13:31 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x8A2DMs5030240; Mon, 9 Sep 2019 22:13:22 -0400 From: Tom Lane To: Alvaro Herrera cc: Andres Freund , pgsql-committers@lists.postgresql.org, Thomas Munro Subject: Re: pgsql: Reorder EPQ work, to fix rowmark related bugs and improve effici In-reply-to: <20190910013835.GA5167@alvherre.pgsql> References: <20190910013835.GA5167@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Mon, 09 Sep 2019 22:38:35 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30238.1568081602.1@sss.pgh.pa.us> Date: Mon, 09 Sep 2019 22:13:22 -0400 Message-ID: <30239.1568081602@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alvaro Herrera writes: > On 2019-Sep-09, Tom Lane wrote: >> It appears to me that this is indeed a case of notice-reporting >> timing problems in isolationtester, since these WARNING messages >> are handled the same way as notices. I want to try to reproduce >> manually on prairiedog to confirm that, but it seems like a pretty >> likely explanation. Yeah, seems confirmed. I ran forty cycles of eval-plan-qual without a failure with current HEAD. I then reverted 30717637c, and eval-plan-qual fell over six times out of six, with the same diffs shown in the buildfarm report. So that patch is definitely a prerequisite to making this version of eval-plan-qual stable. >> On balance I'm inclined to back-patch both changes. Thoughts? > As well as a28e10e82e54, I suppose. I agree with keeping the tool > similar across branches, if we're going to do this. Hm, good point. My first thought was that a28e10e82e54 is just cosmetic, but it isn't entirely, because it suppresses notice reports on the control connection. That means it might actually be a prerequisite to having stable output with ebd499282 (the change of client_min_messages). After reviewing the git log a little more, I'm inclined to think we should only back-patch this stuff to 9.6, which is where 38f8bdcac ("Modify the isolation tester so that multiple sessions can wait") and a number of follow-up patches came in. That was enough of a quantum jump in flexibility that it'd likely limit our ability to back-patch tests further than that anyway. Also I don't think the patches mentioned here would apply without that ... regards, tom lane