File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 66 *
77 * Copyright (c) 1994, Regents of the University of California
88 *
9- * $Id: nodes.h,v 1.5 1997/03 /02 02:12:49 momjian Exp $
9+ * $Id: nodes.h,v 1.6 1997/04 /02 03:34:44 vadim Exp $
1010 *
1111 *-------------------------------------------------------------------------
1212 */
@@ -178,6 +178,7 @@ typedef enum NodeTag {
178178 T_DestroydbStmt ,
179179 T_VacuumStmt ,
180180 T_ExplainStmt ,
181+ T_CreateSeqStmt ,
181182
182183 T_A_Expr = 700 ,
183184 T_Attr ,
Original file line number Diff line number Diff line change 66 *
77 * Copyright (c) 1994, Regents of the University of California
88 *
9- * $Id: parsenodes.h,v 1.10 1997/01/16 14:56:45 momjian Exp $
9+ * $Id: parsenodes.h,v 1.11 1997/04/02 03:34:46 vadim Exp $
1010 *
1111 *-------------------------------------------------------------------------
1212 */
@@ -138,6 +138,17 @@ typedef struct CreateStmt {
138138 int archiveLoc ; /* smgrid (-1 if none) */
139139} CreateStmt ;
140140
141+ /* ----------------------
142+ * Create SEQUENCE Statement
143+ * ----------------------
144+ */
145+
146+ typedef struct CreateSeqStmt {
147+ NodeTag type ;
148+ char * seqname ; /* the relation to create */
149+ List * options ;
150+ } CreateSeqStmt ;
151+
141152/* ----------------------
142153 * Create Version Statement
143154 * ----------------------
@@ -168,6 +179,7 @@ typedef struct DefineStmt {
168179typedef struct DestroyStmt {
169180 NodeTag type ;
170181 List * relNames ; /* relations to be dropped */
182+ bool sequence ;
171183} DestroyStmt ;
172184
173185/* ----------------------
You can’t perform that action at this time.
0 commit comments