Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b8Uxg-00010y-8j for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Jun 2016 15:55:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b8Uxf-0001tW-DI for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Jun 2016 15:55:07 +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 1b8UwK-0000JU-At for pgsql-hackers@postgresql.org; Thu, 02 Jun 2016 15:53:44 +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 1b8UwH-0004T5-MS for pgsql-hackers@postgresql.org; Thu, 02 Jun 2016 15:53:43 +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 u52FrVgG021661; Thu, 2 Jun 2016 11:53:31 -0400 From: Tom Lane To: Josh berkus cc: Robert Haas , Amit Kapila , Peter Geoghegan , Noah Misch , David Rowley , Alvaro Herrera , Magnus Hagander , Bruce Momjian , PostgreSQL-development Subject: Re: Rename max_parallel_degree? In-reply-to: <575051AF.2090101@agliodbs.com> References: <20160426152217.GA548975@alvherre.pgsql> <574DBEA4.9000205@agliodbs.com> <8716.1464714201@sss.pgh.pa.us> <574DC585.7010507@agliodbs.com> <574DC881.5010006@agliodbs.com> <17944.1464790245@sss.pgh.pa.us> <7570.1464816591@sss.pgh.pa.us> <575051AF.2090101@agliodbs.com> Comments: In-reply-to Josh berkus message dated "Thu, 02 Jun 2016 08:33:03 -0700" Date: Thu, 02 Jun 2016 11:53:31 -0400 Message-ID: <21660.1464882811@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) 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 Josh berkus writes: > On 06/02/2016 04:58 AM, Robert Haas wrote: >> Well, I think we could drop node, if you like. I think parallel >> wouldn't be good to drop, though, because it sounds like we want a >> global limit on parallel workers also, and that can't be just >> max_workers. So I think we should keep parallel in there for all of >> them, and have max_parallel_workers and >> max_parallel_workers_per_gather(_node). The reloption and the Path >> struct field can be parallel_workers rather than parallel_degree. > So does that mean we'll rename it if you manage to implement a parameter > which controls the number of workers for the whole statement? That would fit in as something like max_parallel_workers_per_statement. 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