Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1di1Dz-00035Q-78 for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Aug 2017 16:31:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1di1Dy-0001b1-ID for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Aug 2017 16:31:18 +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 1di1Dy-0001as-03 for pgsql-hackers@postgreSQL.org; Wed, 16 Aug 2017 16:31:18 +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 1di1Dv-0005Lg-JI for pgsql-hackers@postgreSQL.org; Wed, 16 Aug 2017 16:31:16 +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 v7GGVE7Z027898 for ; Wed, 16 Aug 2017 12:31:14 -0400 From: Tom Lane To: pgsql-hackers@postgreSQL.org Subject: Garbled comment in postgresGetForeignJoinPaths MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <27896.1502901074.1@sss.pgh.pa.us> Date: Wed, 16 Aug 2017 12:31:14 -0400 Message-ID: <27897.1502901074@sss.pgh.pa.us> 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 postgres_fdw.c around line 4500: /* * If there is a possibility that EvalPlanQual will be executed, we need * to be able to reconstruct the row using scans of the base relations. * GetExistingLocalJoinPath will find a suitable path for this purpose in * the path list of the joinrel, if one exists. We must be careful to * call it before adding any ForeignPath, since the ForeignPath might * dominate the only suitable local path available. We also do it before --> * reconstruct the row for EvalPlanQual(). Find an alternative local path * calling foreign_join_ok(), since that function updates fpinfo and marks * it as pushable if the join is found to be pushable. */ Should the marked line simply be deleted? If not, what correction is appropriate? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers