mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Eliminate "parallel degree" terminology.
This terminology provoked widespread complaints. So, instead, rename the GUC max_parallel_degree to max_parallel_workers_per_gather (leaving room for a possible future GUC max_parallel_workers that acts as a system-wide limit), and rename the parallel_degree reloption to parallel_workers. Rename structure members to match. These changes create a dump/restore hazard for users of PostgreSQL 9.6beta1 who have set the reloption (or applied the GUC using ALTER USER or ALTER DATABASE).
This commit is contained in:
@ -1394,7 +1394,7 @@ create_gather_plan(PlannerInfo *root, GatherPath *best_path)
|
||||
|
||||
gather_plan = make_gather(tlist,
|
||||
NIL,
|
||||
best_path->path.parallel_degree,
|
||||
best_path->path.parallel_workers,
|
||||
best_path->single_copy,
|
||||
subplan);
|
||||
|
||||
|
Reference in New Issue
Block a user