aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas G. Lockhart <lockhart@fourpalms.org>1997-12-23 19:58:12 +0000
committerThomas G. Lockhart <lockhart@fourpalms.org>1997-12-23 19:58:12 +0000
commite8783d4af044e596a017e740f5237262a99d4323 (patch)
treed30d9e864d20675edf70077f0e7a5472cffe0578 /src
parent0c714ea9ae2d8d4092b0ef6bc591bdafda8dd478 (diff)
downloadpostgresql-e8783d4af044e596a017e740f5237262a99d4323.tar.gz
postgresql-e8783d4af044e596a017e740f5237262a99d4323.zip
Change field name in RetrieveStmt from selectClause to unionClause.
Add unionall boolean field to SubSelect structure.
Diffstat (limited to 'src')
-rw-r--r--src/include/nodes/parsenodes.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h
index d6f866a4455..d2b2066d3a8 100644
--- a/src/include/nodes/parsenodes.h
+++ b/src/include/nodes/parsenodes.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: parsenodes.h,v 1.37 1997/12/04 23:55:52 thomas Exp $
+ * $Id: parsenodes.h,v 1.38 1997/12/23 19:58:12 thomas Exp $
*
*-------------------------------------------------------------------------
*/
@@ -632,7 +632,7 @@ typedef struct RetrieveStmt
Node *whereClause; /* qualifications */
List *groupClause; /* group by clause */
Node *havingClause; /* having conditional-expression */
- List *selectClause; /* subselect parameters */
+ List *unionClause; /* union subselect parameters */
List *sortClause; /* sort clause (a list of SortGroupBy's) */
} RetrieveStmt;
@@ -648,6 +648,7 @@ typedef struct SubSelect
{
NodeTag type;
char *unique; /* NULL, '*', or unique attribute name */
+ int unionall; /* union without unique sort */
List *targetList; /* the target list (of ResTarget) */
List *fromClause; /* the from clause */
Node *whereClause; /* qualifications */