Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5dp4-00011n-BJ for pgsql-committers@arkaria.postgresql.org; Mon, 09 Apr 2018 20:55:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f5dp2-0007LK-KB for pgsql-committers@arkaria.postgresql.org; Mon, 09 Apr 2018 20:55:28 +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.89) (envelope-from ) id 1f5dp2-0007LB-Bj for pgsql-committers@lists.postgresql.org; Mon, 09 Apr 2018 20:55:28 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5doz-0002Jg-SA for pgsql-committers@lists.postgresql.org; Mon, 09 Apr 2018 20:55:27 +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 w39KtL00018111; Mon, 9 Apr 2018 16:55:21 -0400 From: Tom Lane To: Alvaro Herrera cc: David Rowley , Andrew Gierth , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Support partition pruning at execution time In-reply-to: <20180409203456.3c6mfmbd6sghgmbl@alvherre.pgsql> References: <20180409203456.3c6mfmbd6sghgmbl@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Mon, 09 Apr 2018 17:34:56 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <18109.1523307321.1@sss.pgh.pa.us> Date: Mon, 09 Apr 2018 16:55:21 -0400 Message-ID: <18110.1523307321@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alvaro Herrera writes: > David Rowley wrote: >> Okay, I've written and attached a fix for this. I'm not 100% certain >> that this is the cause of the problem on pademelon, but the code does >> look wrong, so needs to be fixed. Hopefully, it'll make pademelon >> happy, if not I'll think a bit harder about what might be causing that >> instability. > Pushed it just now. Let's see what happens with pademelon now. I've had pademelon's host running a "make installcheck" loop all day trying to reproduce the problem. I haven't gotten a bite yet (although at 15+ minutes per cycle, this isn't a huge number of tests). I think we were remarkably (un)lucky to see the problem so quickly after the initial commit, and I'm afraid pademelon isn't going to help us prove much about whether this was the same issue. This does remind me quite a bit though of the ongoing saga with the postgres_fdw test instability. Given the frequency with which that's failing in the buildfarm, you would not think it's impossible to reproduce outside the buildfarm, and yet I'm here to tell you that it's pretty damn hard. I haven't succeeded yet, and that's not for lack of trying. Could there be something about the buildfarm environment that makes these sorts of things more likely? regards, tom lane