aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/postgresql.conf.sample
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-11-15 08:17:29 -0500
committerRobert Haas <rhaas@postgresql.org>2017-11-15 08:23:18 -0500
commite5253fdc4f5fe2f38aec47e08c6aee93f934183d (patch)
treeb32d139116adab712dea0cb4ac02a939ff4aebd6 /src/backend/utils/misc/postgresql.conf.sample
parent7518049980be1d90264addab003476ae105f70d4 (diff)
downloadpostgresql-e5253fdc4f5fe2f38aec47e08c6aee93f934183d.tar.gz
postgresql-e5253fdc4f5fe2f38aec47e08c6aee93f934183d.zip
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
Diffstat (limited to 'src/backend/utils/misc/postgresql.conf.sample')
-rw-r--r--src/backend/utils/misc/postgresql.conf.sample1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index 368b280c8af..c7cd72ade2f 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -163,6 +163,7 @@
#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching
#max_worker_processes = 8 # (change requires restart)
#max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
+#parallel_leader_particulation = on
#max_parallel_workers = 8 # maximum number of max_worker_processes that
# can be used in parallel queries
#old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate