Skip to content

Commit 32b16d4

Browse files
author
Amit Kapila
committed
Adjust comment atop ExecShutdownNode.
After commits a315b96 and b805b63, 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
1 parent ba10eae commit 32b16d4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/backend/executor/execProcnode.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -721,11 +721,7 @@ ExecEndNode(PlanState *node)
721721
* ExecShutdownNode
722722
*
723723
* Give execution nodes a chance to stop asynchronous resource consumption
724-
* and release any resources still held. Currently, this is only used for
725-
* parallel query, but we might want to extend it to other cases also (e.g.
726-
* FDW). We might also want to call it sooner, as soon as it's evident that
727-
* no more rows will be needed (e.g. when a Limit is filled) rather than only
728-
* at the end of ExecutorRun.
724+
* and release any resources still held.
729725
*/
730726
bool
731727
ExecShutdownNode(PlanState *node)

0 commit comments

Comments
 (0)