aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeGather.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2015-11-09 10:49:24 -0500
committerRobert Haas <rhaas@postgresql.org>2015-11-09 10:49:24 -0500
commitbf3d0156311f0d8fa7705d8de0d07c4e0298051a (patch)
tree282f90c8d29d7e490522fc57d690769c0d1bafaf /src/backend/executor/nodeGather.c
parent89ff5c7f7512a919e76407b4f8269e5b0b39dd2b (diff)
downloadpostgresql-bf3d0156311f0d8fa7705d8de0d07c4e0298051a.tar.gz
postgresql-bf3d0156311f0d8fa7705d8de0d07c4e0298051a.zip
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.
Diffstat (limited to 'src/backend/executor/nodeGather.c')
-rw-r--r--src/backend/executor/nodeGather.c2
1 files changed, 1 insertions, 1 deletions
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