Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1baUXZ-0006Ug-HW for pgsql-hackers@arkaria.postgresql.org; Thu, 18 Aug 2016 21:07:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1baUXZ-0000nY-4d for pgsql-hackers@arkaria.postgresql.org; Thu, 18 Aug 2016 21:07: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_2) (envelope-from ) id 1baUXY-0000nH-KB for pgsql-hackers@postgresql.org; Thu, 18 Aug 2016 21:07:52 +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 1baUXV-0004MA-Hm for pgsql-hackers@postgresql.org; Thu, 18 Aug 2016 21:07:52 +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 u7IL7lpR025266; Thu, 18 Aug 2016 17:07:47 -0400 From: Tom Lane To: Robert Haas cc: "pgsql-hackers@postgresql.org" Subject: Re: Improving planner's checks for parallel-unsafety In-reply-to: References: <3740.1471538387@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Thu, 18 Aug 2016 16:54:45 -0400" Date: Thu, 18 Aug 2016 17:07:47 -0400 Message-ID: <25265.1471554467@sss.pgh.pa.us> X-Pg-Spam-Score: -2.5 (--) 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: > I have reviewed this and it looks good to me. My only comment is that > this comment is slightly confusing: > ! * Returns the first of PROPARALLEL_UNSAFE, PROPARALLEL_RESTRICTED, or > ! * PROPARALLEL_SAFE that can be found in the given parsetree. We use this > "First" might be read to mean "the first one we happen to run across" > rather than "the earliest in list ordering". Thanks for the review. I'll reconsider how to phrase that --- have you any suggestions? 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