]> granicus.if.org Git - postgresql/commitdiff
Add handling for GatherPath to print_path.
authorRobert Haas <rhaas@postgresql.org>
Wed, 2 Dec 2015 13:19:50 +0000 (08:19 -0500)
committerRobert Haas <rhaas@postgresql.org>
Wed, 2 Dec 2015 13:19:50 +0000 (08:19 -0500)
Peter Geoghegan

src/backend/optimizer/path/allpaths.c

index 1fdcae50ba6743662f316379abbb5810366a5007..4516cd35f5958ac7f14a28fedfb0919d08852d36 100644 (file)
@@ -2771,6 +2771,10 @@ print_path(PlannerInfo *root, Path *path, int indent)
                        ptype = "Unique";
                        subpath = ((UniquePath *) path)->subpath;
                        break;
+               case T_GatherPath:
+                       ptype = "Gather";
+                       subpath = ((GatherPath *) path)->subpath;
+                       break;
                case T_NestPath:
                        ptype = "NestLoop";
                        join = true;