File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $PostgreSQL: pgsql/src/backend/nodes/outfuncs.c,v 1.327 2008/07/16 01:30:22 tgl Exp $
11
+ * $PostgreSQL: pgsql/src/backend/nodes/outfuncs.c,v 1.328 2008/07/17 16:02:12 tgl Exp $
12
12
*
13
13
* NOTES
14
14
* Every node type that can appear in stored rules' parsetrees *must*
@@ -1985,6 +1985,17 @@ _outResTarget(StringInfo str, ResTarget *node)
1985
1985
WRITE_INT_FIELD (location );
1986
1986
}
1987
1987
1988
+ static void
1989
+ _outSortBy (StringInfo str , SortBy * node )
1990
+ {
1991
+ WRITE_NODE_TYPE ("SORTBY" );
1992
+
1993
+ WRITE_ENUM_FIELD (sortby_dir , SortByDir );
1994
+ WRITE_ENUM_FIELD (sortby_nulls , SortByNulls );
1995
+ WRITE_NODE_FIELD (useOp );
1996
+ WRITE_NODE_FIELD (node );
1997
+ }
1998
+
1988
1999
static void
1989
2000
_outConstraint (StringInfo str , Constraint * node )
1990
2001
{
@@ -2426,6 +2437,9 @@ _outNode(StringInfo str, void *obj)
2426
2437
case T_ResTarget :
2427
2438
_outResTarget (str , obj );
2428
2439
break ;
2440
+ case T_SortBy :
2441
+ _outSortBy (str , obj );
2442
+ break ;
2429
2443
case T_Constraint :
2430
2444
_outConstraint (str , obj );
2431
2445
break ;
You can’t perform that action at this time.
0 commit comments