summaryrefslogtreecommitdiff
path: root/src/include/nodes/parsenodes.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-01-11 03:41:57 +0000
committerBruce Momjian <bruce@momjian.us>1998-01-11 03:41:57 +0000
commit600c958a302a3c48b6ee1d4c472eeed4f0fcd392 (patch)
tree1a8e920372a747fabf6ad23fbe8fe477ce572547 /src/include/nodes/parsenodes.h
parentd70df16a76603e806e32e68da85c8fd8fc13cc5a (diff)
downloadpostgresql-600c958a302a3c48b6ee1d4c472eeed4f0fcd392.tar.gz
Add UNION, GROUP, DISTINCT to INSERT.
Diffstat (limited to 'src/include/nodes/parsenodes.h')
-rw-r--r--src/include/nodes/parsenodes.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h
index 9bc9956857..65718fc6e1 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.42 1998/01/10 04:30:11 momjian Exp $
+ * $Id: parsenodes.h,v 1.43 1998/01/11 03:41:49 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -574,10 +574,15 @@ typedef struct InsertStmt
{
NodeTag type;
char *relname; /* relation to insert into */
+ char *unique; /* NULL, '*', or unique attribute name */
List *cols; /* names of the columns */
List *targetList; /* the target list (of ResTarget) */
List *fromClause; /* the from clause */
Node *whereClause; /* qualifications */
+ List *groupClause; /* group by clause */
+ Node *havingClause; /* having conditional-expression */
+ List *unionClause; /* union subselect parameters */
+ bool unionall; /* union without unique sort */
} InsertStmt;
/* ----------------------