Fix rebasing mistake in nodeGather.c

The patches committed as 6e71dd7ce9
and 3a1f8611f2 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.
This commit is contained in:
Robert Haas 2015-11-09 10:49:24 -05:00
parent 89ff5c7f75
commit bf3d015631
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ gather_readnext(GatherState *gatherstate)
--gatherstate->nreaders;
if (gatherstate->nreaders == 0)
{
ExecShutdownGather(gatherstate);
ExecShutdownGatherWorkers(gatherstate);
return NULL;
}
else