aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execParallel.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2015-10-22 10:37:24 -0400
committerRobert Haas <rhaas@postgresql.org>2015-10-22 10:37:24 -0400
commit1a219fa15bf802d69621e71c43d1a09515bcdc50 (patch)
treed1f58ffbd60c362e52c79ac189cc0101289c9400 /src/backend/executor/execParallel.c
parente4a618aa1ec420f40198e89ef1afd7a4e8cfcecf (diff)
downloadpostgresql-1a219fa15bf802d69621e71c43d1a09515bcdc50.tar.gz
postgresql-1a219fa15bf802d69621e71c43d1a09515bcdc50.zip
Add header comments to execParallel.c and nodeGather.c.
Patch by me, per a note from Simon Riggs. Reviewed by Amit Kapila and Amit Langote.
Diffstat (limited to 'src/backend/executor/execParallel.c')
-rw-r--r--src/backend/executor/execParallel.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/backend/executor/execParallel.c b/src/backend/executor/execParallel.c
index 3bb820692d2..efcbaef416c 100644
--- a/src/backend/executor/execParallel.c
+++ b/src/backend/executor/execParallel.c
@@ -6,6 +6,14 @@
* Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
+ * This file contains routines that are intended to support setting up,
+ * using, and tearing down a ParallelContext from within the PostgreSQL
+ * executor. The ParallelContext machinery will handle starting the
+ * workers and ensuring that their state generally matches that of the
+ * leader; see src/backend/access/transam/README.parallel for details.
+ * However, we must save and restore relevant executor state, such as
+ * any ParamListInfo associated with the query, buffer usage info, and
+ * the actual plan to be passed down to the worker.
*
* IDENTIFICATION
* src/backend/executor/execParallel.c