Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmLKm-00041p-NB for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Aug 2017 14:48:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dmLKk-0006gd-7Q for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Aug 2017 14:48:10 +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 1dmLKj-0006gC-3W; Mon, 28 Aug 2017 14:48:09 +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 1dmLKf-00012g-Lm; Mon, 28 Aug 2017 14:48:07 +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 v7SElwPM013541; Mon, 28 Aug 2017 10:47:59 -0400 From: Tom Lane To: Amit Kapila cc: Robert Haas , Noah Misch , "Adam, Etienne (Nokia-TECH/Issy Les Moulineaux)" , PostgreSQL Bugs , "Duquesne, Pierre (Nokia-TECH/Issy Les Moulineaux)" , pgsql-hackers Subject: Re: [HACKERS] [postgresql 10 beta3] unrecognized node type: 90 In-reply-to: References: <11673.1502467154@sss.pgh.pa.us> <20170815025243.GA3986579@rfd.leadboat.com> <26053.1502804769@sss.pgh.pa.us> <2941.1502979564@sss.pgh.pa.us> <28782.1502992247@sss.pgh.pa.us> <29467.1502993219@sss.pgh.pa.us> <18650.1502995942@sss.pgh.pa.us> <1105.1503008416@sss.pgh.pa.us> <24667.1503865781@sss.pgh.pa.us> <3924.1503923486@sss.pgh.pa.us> <5305.1503925480@s! ss.pgh.pa.us> Comments: In-reply-to Amit Kapila message dated "Mon, 28 Aug 2017 19:35:29 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13539.1503931678.1@sss.pgh.pa.us> Date: Mon, 28 Aug 2017 10:47:58 -0400 Message-ID: <13540.1503931678@sss.pgh.pa.us> 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 Amit Kapila writes: > On Mon, Aug 28, 2017 at 6:34 PM, Tom Lane wrote: >> If what you're complaining about is that I put back the "if >> (outerPlan->chgParam == NULL)" test to allow postponement of the >> recursive ExecReScan call, I'm afraid that it's mere wishful >> thinking that omitting that test in nodeGather did anything. > Previously outerPlan->chgParam will be NULL, so I think rescan's won't > be postponed. That seems like an unacceptably fragile assumption. Even if it happens to be true today, we would need to fix it sooner or later. (And I kinda suspect it's possible to break it today, anyway. Treating PARAM_EXEC Params as parallel-restricted seems to lock out the easiest cases, but we have param slots that don't correspond to any Param node, eg for recursive union worktables. replace_nestloop_params is also a source of PARAM_EXEC Params that won't be detected during is_parallel_safe() tests, because it happens later.) 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