Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aOihQ-0000Yb-11 for pgsql-hackers@arkaria.postgresql.org; Thu, 28 Jan 2016 09:17:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aOihP-0004s8-JL for pgsql-hackers@arkaria.postgresql.org; Thu, 28 Jan 2016 09:17:07 +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 1aOig3-0003KT-0w for pgsql-hackers@postgresql.org; Thu, 28 Jan 2016 09:15:43 +0000 Received: from out.smtp-auth.no-ip.com ([8.23.224.60]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aOify-0002HK-9x for pgsql-hackers@postgresql.org; Thu, 28 Jan 2016 09:15:42 +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 [194.78.224.83]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 5875A401A0F; Thu, 28 Jan 2016 01:15:30 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id DF56750E; Thu, 28 Jan 2016 06:15:28 -0300 (CLT) Date: Thu, 28 Jan 2016 10:15:28 +0100 From: Alvaro Herrera To: Etsuro Fujita Cc: Robert Haas , Michael Paquier , PostgreSQL mailing lists Subject: Re: Minor code improvements to create_foreignscan_plan/ExecInitForeignScan Message-ID: <20160128091528.GA722621@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <56A9C025.3050603@lab.ntt.co.jp> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.1 (-) 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 Etsuro Fujita wrote: > On 2016/01/28 12:13, Robert Haas wrote: > >I don't think this is a good idea. Most of the time, no system > >columns will be present, and we'll just be scanning the Bitmapset > >twice rather than once. Sure, that doesn't take many extra cycles, > >but if the point of all this is to micro-optimize this code, that > >particular change is going in the wrong direction. > > I thought that is a good idea, considering the additional overhead is > little, because that would be useful for some use-cases. But I think we > need more discussions about that, so if there are no objections from Alvaro > (or anyone), I'll leave that part as-is. I'm happy to defer. -- Á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