summaryrefslogtreecommitdiff
path: root/src/include/nodes
diff options
context:
space:
mode:
authorBruce Momjian2002-04-05 11:56:55 +0000
committerBruce Momjian2002-04-05 11:56:55 +0000
commit97b4e5ad309b169886a218189804cede0a1eed26 (patch)
treed0b792fc6508a95b6bbdece3fec75b5f853b55b2 /src/include/nodes
parentaab0b8f5eb6d1ad9ea09cc59bfe75e4e4d15718c (diff)
Add INSERT(..., DEFAULT, ).
Rod Taylor
Diffstat (limited to 'src/include/nodes')
-rw-r--r--src/include/nodes/nodes.h3
-rw-r--r--src/include/nodes/parsenodes.h10
2 files changed, 11 insertions, 2 deletions
diff --git a/src/include/nodes/nodes.h b/src/include/nodes/nodes.h
index 34510c0d792..ff03eb12284 100644
--- a/src/include/nodes/nodes.h
+++ b/src/include/nodes/nodes.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: nodes.h,v 1.103 2002/03/22 02:56:36 tgl Exp $
+ * $Id: nodes.h,v 1.104 2002/04/05 11:56:54 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -229,6 +229,7 @@ typedef enum NodeTag
T_PrivGrantee,
T_FuncWithArgs,
T_PrivTarget,
+ T_InsertDefault,
/*
* TAGS FOR FUNCTION-CALL CONTEXT AND RESULTINFO NODES (see fmgr.h)
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h
index 4cccc6a7d2a..e2b0d9f38f3 100644
--- a/src/include/nodes/parsenodes.h
+++ b/src/include/nodes/parsenodes.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: parsenodes.h,v 1.167 2002/04/01 04:35:40 tgl Exp $
+ * $Id: parsenodes.h,v 1.168 2002/04/05 11:56:54 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -360,6 +360,14 @@ typedef struct ResTarget
} ResTarget;
/*
+ * Empty node used as a marker for Default Columns
+ */
+typedef struct InsertDefault
+{
+ NodeTag type;
+} InsertDefault;
+
+/*
* SortGroupBy - for ORDER BY clause
*/
typedef struct SortGroupBy