File tree 1 file changed +18
-1
lines changed
1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 6
6
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
7
7
* Portions Copyright (c) 1994, Regents of the University of California
8
8
*
9
- * $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.112 2000/03/22 22:08:32 tgl Exp $
9
+ * $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.113 2000/03/24 02:58:25 tgl Exp $
10
10
*
11
11
* NOTES
12
12
* Every (plan) node in POSTGRES has an associated "out" routine which
@@ -543,6 +543,20 @@ _outNoname(StringInfo str, Noname *node)
543
543
node -> keycount );
544
544
}
545
545
546
+ /*
547
+ * Material is a subclass of Noname
548
+ */
549
+ static void
550
+ _outMaterial (StringInfo str , Material * node )
551
+ {
552
+ appendStringInfo (str , " MATERIAL " );
553
+ _outPlanInfo (str , (Plan * ) node );
554
+
555
+ appendStringInfo (str , " :nonameid %u :keycount %d " ,
556
+ node -> nonameid ,
557
+ node -> keycount );
558
+ }
559
+
546
560
/*
547
561
* Sort is a subclass of Noname
548
562
*/
@@ -1476,6 +1490,9 @@ _outNode(StringInfo str, void *obj)
1476
1490
case T_Noname :
1477
1491
_outNoname (str , obj );
1478
1492
break ;
1493
+ case T_Material :
1494
+ _outMaterial (str , obj );
1495
+ break ;
1479
1496
case T_Sort :
1480
1497
_outSort (str , obj );
1481
1498
break ;
You can’t perform that action at this time.
0 commit comments