diff --git a/src/backend/executor/execAmi.c b/src/backend/executor/execAmi.c index 7337d21d7d2..f1636a5b883 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;