diff options
author | Robert Haas <rhaas@postgresql.org> | 2015-09-28 21:55:57 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2015-09-28 21:55:57 -0400 |
commit | d1b7c1ffe72e86932b5395f29e006c3f503bc53d (patch) | |
tree | 9758eda06ae19401beef3c74373ecb076e9f9238 /src/include/nodes/plannodes.h | |
parent | 0557dc276f1022965f72dc8bcfc820dfd83a7dc2 (diff) | |
download | postgresql-d1b7c1ffe72e86932b5395f29e006c3f503bc53d.tar.gz postgresql-d1b7c1ffe72e86932b5395f29e006c3f503bc53d.zip |
Parallel executor support.
This code provides infrastructure for a parallel leader to start up
parallel workers to execute subtrees of the plan tree being executed
in the master. User-supplied parameters from ParamListInfo are passed
down, but PARAM_EXEC parameters are not. Various other constructs,
such as initplans, subplans, and CTEs, are also not currently shared.
Nevertheless, there's enough here to support a basic implementation of
parallel query, and we can lift some of the current restrictions as
needed.
Amit Kapila and Robert Haas
Diffstat (limited to 'src/include/nodes/plannodes.h')
-rw-r--r-- | src/include/nodes/plannodes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/nodes/plannodes.h b/src/include/nodes/plannodes.h index cc259f1f674..1e2d2bbaa10 100644 --- a/src/include/nodes/plannodes.h +++ b/src/include/nodes/plannodes.h @@ -111,6 +111,7 @@ typedef struct Plan /* * Common structural data for all Plan types. */ + int plan_node_id; /* unique across entire final plan tree */ List *targetlist; /* target list to be computed at this node */ List *qual; /* implicitly-ANDed qual conditions */ struct Plan *lefttree; /* input plan tree(s) */ |