Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7vWG-0001Ts-Dq for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Jun 2016 02:04:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b7vWF-0007sG-Ou for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Jun 2016 02:04:27 +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 1b7vUv-0006Nb-JA for pgsql-hackers@postgresql.org; Wed, 01 Jun 2016 02:03:05 +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 1b7vUt-0003bn-5S for pgsql-hackers@postgresql.org; Wed, 01 Jun 2016 02:03:04 +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 u5122pxs013951; Tue, 31 May 2016 22:02:51 -0400 From: Tom Lane To: Robert Haas cc: Peter Eisentraut , Alvaro Herrera , Josh berkus , Peter Geoghegan , Noah Misch , David Rowley , Amit Kapila , Magnus Hagander , Bruce Momjian , PostgreSQL-development Subject: Re: Rename max_parallel_degree? In-reply-to: References: <20160531195553.GA895326@alvherre.pgsql> <31423.1464725081@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Tue, 31 May 2016 21:57:44 -0400" Date: Tue, 31 May 2016 22:02:51 -0400 Message-ID: <13950.1464746571@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 Robert Haas writes: > Now, this case is a little trickier. If we called it simply > parallel_degree rather than max_parallel_degree, then it would have > the same name as the reloption. But the reloption sets an exact > value, and the GUC sets a cap, which is a significant difference. The reloption does not set an exact value, according to the code: /* * Use the table parallel_degree, but don't go further than * max_parallel_degree. */ parallel_degree = Min(rel->rel_parallel_degree, max_parallel_degree); although the existing documentation for it is so vague that you couldn't tell from that. 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