Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZPuyx-0002gs-16 for pgsql-hackers@arkaria.postgresql.org; Thu, 13 Aug 2015 16:03:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZPuyv-0002LL-Uc for pgsql-hackers@arkaria.postgresql.org; Thu, 13 Aug 2015 16:03:53 +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 1ZPuyv-0002LF-GJ for pgsql-hackers@postgresql.org; Thu, 13 Aug 2015 16:03:53 +0000 Received: from smtp-auth.no-ip.com ([8.23.224.61] helo=out.smtp-auth.no-ip.com) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZPuyp-0000X4-I9 for pgsql-hackers@postgresql.org; Thu, 13 Aug 2015 16:03:52 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [200.104.169.63]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id F3195400CAD; Thu, 13 Aug 2015 09:03:40 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 1879D391; Thu, 13 Aug 2015 13:03:38 -0300 (CLT) Date: Thu, 13 Aug 2015 13:03:38 -0300 From: Alvaro Herrera To: Tom Lane Cc: Christoph Berg , pgsql-hackers@postgresql.org Subject: Re: Re: [COMMITTERS] Using contrib modules in check (Re: pgsql: Fix BRIN to use SnapshotAny during summarization) Message-ID: <20150813160338.GA5232@alvherre.pgsql> References: <928.1438900846@sss.pgh.pa.us> <20150810110038.GA20393@msg.df7cb.de> <2713.1439215712@sss.pgh.pa.us> <20150812185242.GL3040@postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150812185242.GL3040@postgresql.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Alvaro Herrera wrote: > Tom Lane wrote: > > (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.) > > Here's a patch doing that. Pushed, thanks. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers