Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHXw2-0006c2-ON for pgsql-bugs@arkaria.postgresql.org; Mon, 27 Jun 2016 14:54:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bHXw2-0000Cj-B3 for pgsql-bugs@arkaria.postgresql.org; Mon, 27 Jun 2016 14:54:50 +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.84_2) (envelope-from ) id 1bHXw1-0000At-Kj for pgsql-bugs@postgresql.org; Mon, 27 Jun 2016 14:54:49 +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.84_2) (envelope-from ) id 1bHXvv-0000WD-4F for pgsql-bugs@postgresql.org; Mon, 27 Jun 2016 14:54:48 +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 u5REsdGh032703; Mon, 27 Jun 2016 10:54:39 -0400 From: Tom Lane To: Peter Geoghegan cc: Daniel Newman , danielnewman@umich.edu, Robert Haas , pgsql-bugs Subject: Re: BUG #14210: filter by "=" constraint doesn't work when hash index is present on a column In-reply-to: References: <20160623162507.17237.39471@wrigleys.postgresql.org> <30648.1466701447@sss.pgh.pa.us> <10331.1466723337@sss.pgh.pa.us> <1009.1466803245@sss.pgh.pa.us> <2502.1466805945@sss.pgh.pa.us> <32645.1466868739@sss.pgh.pa.us> <19501.1466881277@sss.pgh.pa.us> Comments: In-reply-to Peter Geoghegan message dated "Sat, 25 Jun 2016 12:05:47 -0700" Date: Mon, 27 Jun 2016 10:54:39 -0400 Message-ID: <32702.1467039279@sss.pgh.pa.us> X-Pg-Spam-Score: -3.2 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Peter Geoghegan writes: > On Sat, Jun 25, 2016 at 12:01 PM, Tom Lane wrote: >> I don't exactly see how that leads to any improvement --- you still end >> up having to manually configure some buildfarm critters for coverage, no? > Yes, but you only have to do it once. I don't see the problem with > creating a #define that represents a grab-bag of debug options that > should run on one or two buildfarm animals. That doesn't preclude also > allowing things like RAW_EXPRESSION_COVERAGE_TEST to be enabled more > selectively. Meh. I do not really think that dromedary's test options (-DCOPY_PARSE_PLAN_TREES -DRAW_EXPRESSION_COVERAGE_TEST) represent a model to follow for this problem. In both of those cases, the value of having the option turned on is that it will exercise code that hasn't even been written yet. So those options have to be enabled across the entire test suite in order to be of much use. Furthermore, there's no particular reason to think that they'd expose platform-dependent behavior, so there's no real downside to having just one or two buildfarm critters using them. But exercising a non-default code path in hash index build is something we only need in one place in the tests, and at least in my judgment there is a possibility for platform-specific behavior. So I think some way of turning it on dynamically, and then adding that as a standard test case, would be a considerable improvement. I just don't quite want to go to the effort of inventing a GUC or reloption. Is there some intermediate answer? regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs