Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmW5s-00019r-IY for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Aug 2017 02:17:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dmW5s-0003bx-3r for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Aug 2017 02:17:32 +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_2) (envelope-from ) id 1dmW5q-0003bf-C4; Tue, 29 Aug 2017 02:17:30 +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_2) (envelope-from ) id 1dmW5n-0003uK-96; Tue, 29 Aug 2017 02:17:29 +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 v7T2HKZP009315; Mon, 28 Aug 2017 22:17:20 -0400 From: Tom Lane To: Robert Haas cc: Amit Kapila , Noah Misch , "Adam, Etienne (Nokia-TECH/Issy Les Moulineaux)" , PostgreSQL Bugs , "Duquesne, Pierre (Nokia-TECH/Issy Les Moulineaux)" , pgsql-hackers Subject: Re: [BUGS] [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> <16978.1503946802@sss.pgh.pa.us> <300.1503959717@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Mon, 28 Aug 2017 20:59:45 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9313.1503973040.1@sss.pgh.pa.us> Date: Mon, 28 Aug 2017 22:17:20 -0400 Message-ID: <9314.1503973040@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 Robert Haas writes: > On Mon, Aug 28, 2017 at 6:35 PM, Tom Lane wrote: >> Maybe parallel_aware should have more than two values, depending >> on whether the result of the node is context-dependent or not. > It seems likely the whole concept of parallel_aware is only only a > zero-order approximation to what we really want. Yeah, I agree --- but it's also clear that we don't yet know what it should be. We'll have to work that out as we accrete more functionality. In the meantime, I think what we should do is commit the bug fix more or less as I have it, and then work on Amit's concern about losing parallel efficiency by separating the resetting of shared parallel-scan state into a new plan tree traversal that's done before launching new worker processes. The only real alternative is to lobotomize the existing rescan optimizations, and that seems like a really poor choice from here. 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