File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 88 *
99 *
1010 * IDENTIFICATION
11- * $PostgreSQL: pgsql/src/backend/nodes/outfuncs.c,v 1.321 2008/01/07 21:33:10 neilc Exp $
11+ * $PostgreSQL: pgsql/src/backend/nodes/outfuncs.c,v 1.322 2008/01/09 08:46:44 neilc Exp $
1212 *
1313 * NOTES
1414 * Every node type that can appear in stored rules' parsetrees *must*
@@ -501,12 +501,23 @@ _outHashJoin(StringInfo str, HashJoin *node)
501501static void
502502_outAgg (StringInfo str , Agg * node )
503503{
504+ int i ;
505+
504506 WRITE_NODE_TYPE ("AGG" );
505507
506508 _outPlanInfo (str , (Plan * ) node );
507509
508510 WRITE_ENUM_FIELD (aggstrategy , AggStrategy );
509511 WRITE_INT_FIELD (numCols );
512+
513+ appendStringInfo (str , " :grpColIdx" );
514+ for (i = 0 ; i < node -> numCols ; i ++ )
515+ appendStringInfo (str , " %d" , node -> grpColIdx [i ]);
516+
517+ appendStringInfo (str , " :grpOperators" );
518+ for (i = 0 ; i < node -> numCols ; i ++ )
519+ appendStringInfo (str , " %u" , node -> grpOperators [i ]);
520+
510521 WRITE_LONG_FIELD (numGroups );
511522}
512523
You can’t perform that action at this time.
0 commit comments