WRITE_NODE_FIELD(uniq_exprs);
 }
 
+static void
+_outGatherPath(StringInfo str, const GatherPath *node)
+{
+   WRITE_NODE_TYPE("GATHERPATH");
+
+   _outPathInfo(str, (const Path *) node);
+
+   WRITE_NODE_FIELD(subpath);
+   WRITE_INT_FIELD(num_workers);
+   WRITE_BOOL_FIELD(single_copy);
+}
+
 static void
 _outNestPath(StringInfo str, const NestPath *node)
 {
            case T_UniquePath:
                _outUniquePath(str, obj);
                break;
+           case T_GatherPath:
+               _outGatherPath(str, obj);
+               break;
            case T_NestPath:
                _outNestPath(str, obj);
                break;