pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add parallel_leader_participation GUC.
Date: Wed, 15 Nov 2017 13:28:26 +0000
Message-ID: <E1eExju-0007wO-1N@gemulon.postgresql.org> (raw)

Add parallel_leader_participation GUC.

Sometimes, for testing, it's useful to have the leader do nothing but
read tuples from workers; and it's possible that could work out better
even in production.

Thomas Munro, reviewed by Amit Kapila and by me.  A few final tweaks
by me.

Discussion: http://postgr.es/m/CAEepm=2U++Lp3bNTv2Bv_kkr5NE2pOyHhxU=G0YTa4ZhSYhHiw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e5253fdc4f5fe2f38aec47e08c6aee93f934183d

Modified Files
--------------
doc/src/sgml/config.sgml                      |  26 ++++++
src/backend/executor/nodeGather.c             |   8 +-
src/backend/executor/nodeGatherMerge.c        |   6 +-
src/backend/optimizer/path/costsize.c         |  12 ++-
src/backend/optimizer/plan/planner.c          |   1 +
src/backend/utils/misc/guc.c                  |  10 +++
src/backend/utils/misc/postgresql.conf.sample |   1 +
src/include/optimizer/planmain.h              |   1 +
src/test/regress/expected/select_parallel.out | 113 ++++++++++++++++++++++++++
src/test/regress/sql/select_parallel.sql      |  36 ++++++++
10 files changed, 205 insertions(+), 9 deletions(-)



Message-ID: <E1eExju-0007wO-1N@gemulon.postgresql.org>
Permalink:  ../E1eExju-0007wO-1N@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1eExju-0007wO-1N@gemulon.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Add parallel_leader_participation GUC.
  In-Reply-To: <E1eExju-0007wO-1N@gemulon.postgresql.org>
  References: <E1eExju-0007wO-1N@gemulon.postgresql.org>

* 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