From 29990634c76a2278ae68bfb951fd20d5510a732d Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Tue, 15 Aug 2017 08:06:36 -0400 Subject: [PATCH] Add missing call to ExecReScanGatherMerge. Amit Kapila Discussion: http://postgr.es/m/CAA4eK1KeQWZOoDmDmGMwuqzPW9JhRS+ditQVFdAfGjNmMZzqMQ@mail.gmail.com --- src/backend/executor/execAmi.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/backend/executor/execAmi.c b/src/backend/executor/execAmi.c index 7337d21d7d..f1636a5b88 100644 --- a/src/backend/executor/execAmi.c +++ b/src/backend/executor/execAmi.c @@ -26,6 +26,7 @@ #include "executor/nodeForeignscan.h" #include "executor/nodeFunctionscan.h" #include "executor/nodeGather.h" +#include "executor/nodeGatherMerge.h" #include "executor/nodeGroup.h" #include "executor/nodeGroup.h" #include "executor/nodeHash.h" @@ -172,6 +173,10 @@ ExecReScan(PlanState *node) ExecReScanGather((GatherState *) node); break; + case T_GatherMergeState: + ExecReScanGatherMerge((GatherMergeState *) node); + break; + case T_IndexScanState: ExecReScanIndexScan((IndexScanState *) node); break; -- 2.40.0