From bf3d0156311f0d8fa7705d8de0d07c4e0298051a Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Mon, 9 Nov 2015 10:49:24 -0500 Subject: [PATCH] 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 850c67e022..513940477c 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 -- 2.40.0