]> granicus.if.org Git - postgresql/commit
Add parallel_leader_participation GUC.
authorRobert Haas <rhaas@postgresql.org>
Wed, 15 Nov 2017 13:17:29 +0000 (08:17 -0500)
committerRobert Haas <rhaas@postgresql.org>
Wed, 15 Nov 2017 13:23:18 +0000 (08:23 -0500)
commite5253fdc4f5fe2f38aec47e08c6aee93f934183d
treeb32d139116adab712dea0cb4ac02a939ff4aebd6
parent7518049980be1d90264addab003476ae105f70d4
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
doc/src/sgml/config.sgml
src/backend/executor/nodeGather.c
src/backend/executor/nodeGatherMerge.c
src/backend/optimizer/path/costsize.c
src/backend/optimizer/plan/planner.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/include/optimizer/planmain.h
src/test/regress/expected/select_parallel.out
src/test/regress/sql/select_parallel.sql