Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmMzG-0000sz-AV for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Sep 2016 15:29:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bmMzF-0005hY-Tm for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Sep 2016 15:29:33 +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 1bmMxs-0004AC-3I for pgsql-hackers@postgresql.org; Tue, 20 Sep 2016 15:28:08 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bmMxl-0001QQ-Qy for pgsql-hackers@postgresql.org; Tue, 20 Sep 2016 15:28:07 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 5B6A2207D6; Tue, 20 Sep 2016 11:28:00 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Tue, 20 Sep 2016 11:28:00 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=pcgGLoSy7mNI5xY S6ir011Hg6Us=; b=LPuBp2eTdujWobwrN1oM6ZNPZc/HlOghrkfZTGB924nQ+vT 3pyeiXe+Rsw1MkD0H/vVmKTtzfvC8YUxmALqxK3o0cc4RlQhwz+otUXcsswQlalC 9On8iaAeIMVBnmva7Ejz5F8ynqiNWFVZwND3cTd/zlq9p5CQAJ9VRoTD+6GY= X-Sasl-enc: E6WcMu1WzFSvamJsDycmJwZLg6/bpSR2ebfL/TTm0+AI 1474385280 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 88DB3F29CF; Tue, 20 Sep 2016 11:27:59 -0400 (EDT) Subject: Re: Rename max_parallel_degree? To: Robert Haas , Julien Rouhaud References: <20160426152217.GA548975@alvherre.pgsql> <98adbca7-3bec-7ee4-92b0-893a0ace5cca@dalibo.com> <9f84548d-8b59-b5c8-510d-991f8ee3ab20@dalibo.com> <20312f33-c14e-0d3f-a79f-95212f64a38c@dalibo.com> <9a3ca4ad-c3ea-2c02-499a-029e053fedda@dalibo.com> Cc: Amit Kapila , Tom Lane , Josh Berkus , "David G. Johnston" , Peter Geoghegan , Noah Misch , David Rowley , Alvaro Herrera , Magnus Hagander , Bruce Momjian , PostgreSQL-development From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Tue, 20 Sep 2016 11:27:59 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 On 9/19/16 2:18 PM, Robert Haas wrote: > I suggest that we make it part of bgw_flags, but use a bitmask for it, > like this: > > #define BGWORKER_CLASS_MASK 0x00f0 > #define BGWORKER_CLASS_PARALLEL 0x0010 > /* add additional bgworker classes here */ Unless we have a mechanism that makes use of this somehow, this attempt at categorizing might be premature. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers