Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csXTM-0000wi-Of for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Mar 2017 16:26:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1csXTM-0005gd-BL for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Mar 2017 16:26:24 +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 1csXTL-0005WB-3L for pgsql-hackers@postgresql.org; Mon, 27 Mar 2017 16:26:23 +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 1csXTI-0005i0-0c for pgsql-hackers@postgresql.org; Mon, 27 Mar 2017 16:26:22 +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 v2RGQH5w032461; Mon, 27 Mar 2017 12:26:17 -0400 From: Tom Lane To: Robert Haas cc: Rushabh Lathia , Tomas Vondra , Peter Eisentraut , David Rowley , PostgreSQL-development Subject: Re: crashes due to setting max_parallel_workers=0 In-reply-to: References: <6ecd6f17-0dcf-1de7-ded8-0de7db1ddc88@2ndquadrant.com> <16476.1490622853@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Mon, 27 Mar 2017 11:51:05 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <32459.1490631977.1@sss.pgh.pa.us> Date: Mon, 27 Mar 2017 12:26:17 -0400 Message-ID: <32460.1490631977@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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, Mar 27, 2017 at 9:54 AM, Tom Lane wrote: >> Since this has now come up twice, I suggest adding a comment there >> that explains why we're intentionally ignoring max_parallel_workers. > Good idea. How about the attached? WFM ... but seems like there should be some flavor of this statement in the user-facing docs too (ie, "max_parallel_workers_per_gather > max_parallel_workers is a bad idea unless you're trying to test what happens when a plan can't get all the workers it planned for"). The existing text makes some vague allusions suggesting that the two GUCs might be interrelated, but I think it could be improved. 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