pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Petr Jelinek <petr@2ndquadrant.com>
To: Robert Haas <robertmhaas@gmail.com>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Julien Rouhaud <julien.rouhaud@dalibo.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: Peter Geoghegan <pg@heroku.com>
Cc: Noah Misch <noah@leadboat.com>
Cc: David Rowley <david.rowley@2ndquadrant.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: Rename max_parallel_degree?
Date: Tue, 20 Sep 2016 19:30:38 +0200
Message-ID: <2471b149-4f5f-77fd-bc8c-70e8d1cecf5c@2ndquadrant.com> (raw)
In-Reply-To: <CA+TgmoYbZO0rM8ystcf-ZxWCEBAdJg1vjETpXu+m+a0uX_STLg@mail.gmail.com>
References: <20160426152217.GA548975@alvherre.pgsql>
	<CAA4eK1+SPLt3M0znpNK1qGbKtiC3XmvoOoSP=Bf7bgmQ2P_pkA@mail.gmail.com>
	<a1bcad71-db24-2d47-843d-f9fa9677da11@dalibo.com>
	<CAA4eK1J3ZnTBSQv7-YxH9g=9h9L0cEiNU3pqeOZC9=pa_9=Rsw@mail.gmail.com>
	<CAA4eK1+Q_DdJ28qXYSHZiBKNf2MY1QFrv5XAOAw4ZXHw4TPMxA@mail.gmail.com>
	<f3421024-c236-a728-4cb4-38404b69bc9f@dalibo.com>
	<CAA4eK1KZh_qDtZJALYY9oDHjzAKYJAZsqwOXNTiL91WFDSFhzg@mail.gmail.com>
	<9f84548d-8b59-b5c8-510d-991f8ee3ab20@dalibo.com>
	<CAA4eK1+4uvbf6gefPEhXMD40R_Q+qDfBGw9SGHWMkqxszx+=tA@mail.gmail.com>
	<20312f33-c14e-0d3f-a79f-95212f64a38c@dalibo.com>
	<CAA4eK1J8HodZYEKkUYdbxZb-_-d_uw+EzEUKy9WJuDYy6nGh8w@mail.gmail.com>
	<CA+TgmoZWstza-3o9jtqoNUaQRgU-QDHNFtgmC27iEKfKVBiRRg@mail.gmail.com>
	<9a3ca4ad-c3ea-2c02-499a-029e053fedda@dalibo.com>
	<CA+TgmoZmfYXrVwZ5+gU9tpaC7+oicoCBuSUySHs_1esWk0sqaA@mail.gmail.com>
	<cefbe923-1e1c-c61f-a690-ab7f8a76c592@2ndquadrant.com>
	<CA+TgmoYbZO0rM8ystcf-ZxWCEBAdJg1vjETpXu+m+a0uX_STLg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 20/09/16 17:47, Robert Haas wrote:
> On Tue, Sep 20, 2016 at 11:27 AM, Peter Eisentraut
> <peter.eisentraut@2ndquadrant.com> wrote:
>> 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.
> 
> My main reason for wanting is that I suspect there will be a similar
> desire to limit the number of replication workers at some point.
> 

Yes there definitely is desire to use this for replication workers as
well. The logical replication launcher currently handles the limit by
itself but I'd definitely prefer to reuse something more generic.

-- 
  Petr Jelinek                  http://www.2ndQuadrant.com/
  PostgreSQL Development, 24x7 Support, 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



view thread (185+ messages)  latest in thread

Message-ID: <2471b149-4f5f-77fd-bc8c-70e8d1cecf5c@2ndquadrant.com>
Permalink:  ../2471b149-4f5f-77fd-bc8c-70e8d1cecf5c@2ndquadrant.com/
Also on:    postgresql.org/message-id/2471b149-4f5f-77fd-bc8c-70e8d1cecf5c@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: petr@2ndquadrant.com, robertmhaas@gmail.com, peter.eisentraut@2ndquadrant.com, julien.rouhaud@dalibo.com, amit.kapila16@gmail.com, tgl@sss.pgh.pa.us, josh@agliodbs.com, david.g.johnston@gmail.com, pg@heroku.com, noah@leadboat.com, david.rowley@2ndquadrant.com, alvherre@2ndquadrant.com, magnus@hagander.net, bruce@momjian.us
  Subject: Re: Rename max_parallel_degree?
  In-Reply-To: <2471b149-4f5f-77fd-bc8c-70e8d1cecf5c@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox