Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6ec8d37

Browse files
committed
New node T_CreateSeqStmt.
1 parent46d11f3 commit6ec8d37

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

‎src/include/nodes/nodes.h

Lines changed: 2 additions & 1 deletion
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: nodes.h,v 1.5 1997/03/0202:12:49 momjian Exp $
9+
* $Id: nodes.h,v 1.6 1997/04/0203: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,

‎src/include/nodes/parsenodes.h

Lines changed: 13 additions & 1 deletion
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.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
intarchiveLoc;/* smgrid (-1 if none) */
139139
}CreateStmt;
140140

141+
/* ----------------------
142+
*Create SEQUENCE Statement
143+
* ----------------------
144+
*/
145+
146+
typedefstructCreateSeqStmt {
147+
NodeTagtype;
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 {
168179
typedefstructDestroyStmt {
169180
NodeTagtype;
170181
List*relNames;/* relations to be dropped */
182+
boolsequence;
171183
}DestroyStmt;
172184

173185
/* ----------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp