Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZOnkt-0005hp-GS for pgsql-committers@arkaria.postgresql.org; Mon, 10 Aug 2015 14:08:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZOnks-0001EF-UV for pgsql-committers@arkaria.postgresql.org; Mon, 10 Aug 2015 14:08:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZOnks-0001E1-Dp for pgsql-committers@postgresql.org; Mon, 10 Aug 2015 14:08:46 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZOnkp-00012s-GD for pgsql-committers@postgresql.org; Mon, 10 Aug 2015 14:08:45 +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 t7AE8W4b002714; Mon, 10 Aug 2015 10:08:32 -0400 From: Tom Lane To: Christoph Berg cc: Alvaro Herrera , pgsql-committers@postgresql.org Subject: Re: Using contrib modules in check (Re: pgsql: Fix BRIN to use SnapshotAny during summarization) In-reply-to: <20150810110038.GA20393@msg.df7cb.de> References: <928.1438900846@sss.pgh.pa.us> <20150810110038.GA20393@msg.df7cb.de> Comments: In-reply-to Christoph Berg message dated "Mon, 10 Aug 2015 13:00:38 +0200" Date: Mon, 10 Aug 2015 10:08:32 -0400 Message-ID: <2713.1439215712@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Christoph Berg writes: > Re: Tom Lane 2015-08-07 <928.1438900846@sss.pgh.pa.us> >> I don't really think we need this isolation test at all, but if we do, >> please fix it to not rely on any extensions. Perhaps looking at >> pg_relation_size or some such would do? Or you could just issue >> a query that should use the index, and see if it finds the rows it >> ought to. > this breaks the Debian package builds as well because we run > check-world as a build step. > Any chance for a fix/workaround so the nightly master/head builds will > succeed again? I was waiting for Alvaro to deal with this, but perhaps he's on summer vacation or something. I will remove the isolation test until he has time to address it more fully. However, we did learn something valuable from the fact that all the -DCLOBBER_CACHE_ALWAYS critters failed on it: per my earlier message, brin_page_items() is unsafe against a relcache flush on the index. I'll put that on the 9.5 open items list. (If I were tasked with fixing it, I'd be tempted to rewrite it to do all the work in one call and return a tuplestore; the alternative seems to be to try to keep the index open across multiple calls, which would be a mess.) regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers