]> granicus.if.org Git - postgresql/commitdiff
Add missing call to ExecReScanGatherMerge.
authorRobert Haas <rhaas@postgresql.org>
Tue, 15 Aug 2017 12:06:36 +0000 (08:06 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 15 Aug 2017 12:06:36 +0000 (08:06 -0400)
Amit Kapila

Discussion: http://postgr.es/m/CAA4eK1KeQWZOoDmDmGMwuqzPW9JhRS+ditQVFdAfGjNmMZzqMQ@mail.gmail.com

src/backend/executor/execAmi.c

index 7337d21d7d2f5b5980d269e69d9c3123356c87f4..f1636a5b883cf8947cf27cd044760d42f0f28164 100644 (file)
@@ -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;