postgres.git / summary / log / commit / refs
commit c7485a82c3e29103757db75bb9ff8dac597387dc
Author: Robert Haas <rhaas@postgresql.org>
Date: Wed Dec 02 13:19:50 2015 +0000
Add handling for GatherPath to print_path.
Peter Geoghegan
src/backend/optimizer/path/allpaths.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/backend/optimizer/path/allpaths.c b/src/backend/optimizer/path/allpaths.c
index 1fdcae50ba6..4516cd35f59 100644
--- a/src/backend/optimizer/path/allpaths.c
+++ b/src/backend/optimizer/path/allpaths.c
@@ -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;
[parent: 7fb008c5ee59]