mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
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
This commit is contained in:
@@ -29,6 +29,7 @@ typedef enum
|
||||
#define DEFAULT_CURSOR_TUPLE_FRACTION 0.1
|
||||
extern double cursor_tuple_fraction;
|
||||
extern int force_parallel_mode;
|
||||
extern bool parallel_leader_participation;
|
||||
|
||||
/* query_planner callback to compute query_pathkeys */
|
||||
typedef void (*query_pathkeys_callback) (PlannerInfo *root, void *extra);
|
||||
|
||||
Reference in New Issue
Block a user