diff options
| author | Robert Haas | 2016-04-15 15:49:41 +0000 |
|---|---|---|
| committer | Robert Haas | 2016-04-15 15:52:18 +0000 |
| commit | 5702277ca97396384eaf5c58d582b79b9984ce73 (patch) | |
| tree | e518f6d5bcc8a1f7c57d49eaaa05530cf91752c7 /src/include | |
| parent | 6b85d4ba9b09dc94cf1b14aef517da095a83cdbb (diff) | |
Tweak EXPLAIN for parallel query to show workers launched.
The previous display was sort of confusing, because it didn't
distinguish between the number of workers that we planned to launch
and the number that actually got launched. This has already confused
several people, so display both numbers and label them clearly.
Julien Rouhaud, reviewed by me.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/nodes/execnodes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h index dbec07e5a3..ee4e189689 100644 --- a/src/include/nodes/execnodes.h +++ b/src/include/nodes/execnodes.h @@ -1956,6 +1956,7 @@ typedef struct GatherState struct ParallelExecutorInfo *pei; int nreaders; int nextreader; + int nworkers_launched; struct TupleQueueReader **reader; TupleTableSlot *funnel_slot; bool need_to_scan_locally; |
