]> granicus.if.org Git - postgresql/commitdiff
Adjust comment atop ExecShutdownNode.
authorAmit Kapila <akapila@postgresql.org>
Mon, 13 Aug 2018 04:42:39 +0000 (10:12 +0530)
committerAmit Kapila <akapila@postgresql.org>
Mon, 13 Aug 2018 04:42:39 +0000 (10:12 +0530)
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

src/backend/executor/execProcnode.c

index eaed9fb5a97f4791ae557ef82af9a4d125acfb46..610cb4b8a9aabba3b35ddb6cbfd5b2f8596bc9e3 100644 (file)
@@ -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)