aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execProcnode.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2018-08-13 10:04:39 +0530
committerAmit Kapila <akapila@postgresql.org>2018-08-13 10:04:39 +0530
commit4f9a97e417ca3c162c2c83918873e3ac2cf0ace4 (patch)
tree0d272bf3278839ce7433cfee2e1d6ba54ed8e66b /src/backend/executor/execProcnode.c
parent2cd0acfdade82f3cab362fd9129d453f81cc2745 (diff)
downloadpostgresql-4f9a97e417ca3c162c2c83918873e3ac2cf0ace4.tar.gz
postgresql-4f9a97e417ca3c162c2c83918873e3ac2cf0ace4.zip
Adjust comment atop ExecShutdownNode.
After commits a315b967cc and b805b63ac2, part of the comment atop ExecShutdownNode is redundant. Adjust it. Author: Amit Kapila Backpatch-through: 10 where both the mentioned commits are present. Discussion: https://postgr.es/m/86137f17-1dfb-42f9-7421-82fd786b04a1@anayrat.info
Diffstat (limited to 'src/backend/executor/execProcnode.c')
-rw-r--r--src/backend/executor/execProcnode.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/backend/executor/execProcnode.c b/src/backend/executor/execProcnode.c
index eaed9fb5a97..610cb4b8a9a 100644
--- a/src/backend/executor/execProcnode.c
+++ b/src/backend/executor/execProcnode.c
@@ -736,11 +736,7 @@ ExecEndNode(PlanState *node)
* ExecShutdownNode
*
* Give execution nodes a chance to stop asynchronous resource consumption
- * and release any resources still held. Currently, this is only used for
- * parallel query, but we might want to extend it to other cases also (e.g.
- * FDW). We might also want to call it sooner, as soon as it's evident that
- * no more rows will be needed (e.g. when a Limit is filled) rather than only
- * at the end of ExecutorRun.
+ * and release any resources still held.
*/
bool
ExecShutdownNode(PlanState *node)