postgres.git / summary / log / commit / refs
commit bf3d0156311f0d8fa7705d8de0d07c4e0298051a
Author: Robert Haas <rhaas@postgresql.org>
Date: Mon Nov 09 15:49:24 2015 +0000
First released in: 9.6.0
Fix rebasing mistake in nodeGather.c
The patches committed as 6e71dd7ce9766582da453f493bc371d64977282f
and 3a1f8611f2582df0a16bcd35caed2e1526387643 were developed in
parallel but dependent on each other in a way that I failed to
notice.
This patch to fix the problem was prepared by Amit Kapila.
src/backend/executor/nodeGather.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/executor/nodeGather.c b/src/backend/executor/nodeGather.c
index 850c67e022a..513940477c0 100644
--- a/src/backend/executor/nodeGather.c
+++ b/src/backend/executor/nodeGather.c
@@ -341,7 +341,7 @@ gather_readnext(GatherState *gatherstate)
--gatherstate->nreaders;
if (gatherstate->nreaders == 0)
{
- ExecShutdownGather(gatherstate);
+ ExecShutdownGatherWorkers(gatherstate);
return NULL;
}
else
[parent: 89ff5c7f7512]