Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e8783d4

Browse files
author
Thomas G. Lockhart
committed
Change field name in RetrieveStmt from selectClause to unionClause.
Add unionall boolean field to SubSelect structure.
1 parent 0c714ea commit e8783d4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/include/nodes/parsenodes.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: parsenodes.h,v 1.37 1997/12/04 23:55:52 thomas Exp $
9+
* $Id: parsenodes.h,v 1.38 1997/12/23 19:58:12 thomas Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -632,7 +632,7 @@ typedef struct RetrieveStmt
632632
Node *whereClause; /* qualifications */
633633
List *groupClause; /* group by clause */
634634
Node *havingClause; /* having conditional-expression */
635-
List *selectClause; /* subselect parameters */
635+
List *unionClause; /* union subselect parameters */
636636
List *sortClause; /* sort clause (a list of SortGroupBy's) */
637637
} RetrieveStmt;
638638

@@ -648,6 +648,7 @@ typedef struct SubSelect
648648
{
649649
NodeTag type;
650650
char *unique; /* NULL, '*', or unique attribute name */
651+
int unionall; /* union without unique sort */
651652
List *targetList; /* the target list (of ResTarget) */
652653
List *fromClause; /* the from clause */
653654
Node *whereClause; /* qualifications */

0 commit comments

Comments
 (0)