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 1eu0Le-0001na-DJ for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Mar 2018 18:33:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eu0Ld-0000Nd-6s for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Mar 2018 18:33:01 +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 1eu0Lc-0000NU-Sn for pgsql-hackers@lists.postgresql.org; Thu, 08 Mar 2018 18:33:01 +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 1eu0La-0004QF-6V for pgsql-hackers@lists.postgresql.org; Thu, 08 Mar 2018 18:32:59 +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 w28IWuQQ020261; Thu, 8 Mar 2018 13:32:56 -0500 From: Tom Lane To: Robert Haas cc: PostgreSQL Hackers Subject: Re: Testbed for predtest.c ... and some arguable bugs therein In-reply-to: References: <5983.1520487191@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Thu, 08 Mar 2018 12:14:53 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20259.1520533976.1@sss.pgh.pa.us> Date: Thu, 08 Mar 2018 13:32:56 -0500 Message-ID: <20260.1520533976@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Robert Haas writes: > On Thu, Mar 8, 2018 at 12:33 AM, Tom Lane wrote: >> I'm not sure that that's worth fixing right now. Instead I'm tempted >> to revert the addition of the clause_is_check argument to >> predicate_refuted_by, on the grounds that it's both broken and currently >> unnecessary. > Hmm, I think you were the one who pushed for adding that argument in > the first place: http://postgr.es/m/31878.1497389320@sss.pgh.pa.us I'm kind of disappointed that you failed to take the *other* advice in that message, as I still think that clause_is_check is a poor choice of name for the flag. It could have been salvaged with a clear comment defining the semantics, but that's not there either. > I have no problem with taking it back out, although I'm disappointed > that I failed to find whatever was broken about it during review. Maybe I'll spend a few minutes trying to isolate why the current results are wrong. However, it's certainly arguable that we shouldn't spend much time on this with no use-case in sight. regards, tom lane