mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-30 14:41:22 +02:00
New node T_CreateSeqStmt.
This commit is contained in:
parent
46d11f314f
commit
6ec8d375f5
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: nodes.h,v 1.5 1997/03/02 02:12:49 momjian Exp $
|
* $Id: nodes.h,v 1.6 1997/04/02 03:34:44 vadim Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -178,6 +178,7 @@ typedef enum NodeTag {
|
|||||||
T_DestroydbStmt,
|
T_DestroydbStmt,
|
||||||
T_VacuumStmt,
|
T_VacuumStmt,
|
||||||
T_ExplainStmt,
|
T_ExplainStmt,
|
||||||
|
T_CreateSeqStmt,
|
||||||
|
|
||||||
T_A_Expr = 700,
|
T_A_Expr = 700,
|
||||||
T_Attr,
|
T_Attr,
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: parsenodes.h,v 1.10 1997/01/16 14:56:45 momjian Exp $
|
* $Id: parsenodes.h,v 1.11 1997/04/02 03:34:46 vadim Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -138,6 +138,17 @@ typedef struct CreateStmt {
|
|||||||
int archiveLoc; /* smgrid (-1 if none) */
|
int archiveLoc; /* smgrid (-1 if none) */
|
||||||
} CreateStmt;
|
} CreateStmt;
|
||||||
|
|
||||||
|
/* ----------------------
|
||||||
|
* Create SEQUENCE Statement
|
||||||
|
* ----------------------
|
||||||
|
*/
|
||||||
|
|
||||||
|
typedef struct CreateSeqStmt {
|
||||||
|
NodeTag type;
|
||||||
|
char *seqname; /* the relation to create */
|
||||||
|
List *options;
|
||||||
|
} CreateSeqStmt;
|
||||||
|
|
||||||
/* ----------------------
|
/* ----------------------
|
||||||
* Create Version Statement
|
* Create Version Statement
|
||||||
* ----------------------
|
* ----------------------
|
||||||
@ -168,6 +179,7 @@ typedef struct DefineStmt {
|
|||||||
typedef struct DestroyStmt {
|
typedef struct DestroyStmt {
|
||||||
NodeTag type;
|
NodeTag type;
|
||||||
List *relNames; /* relations to be dropped */
|
List *relNames; /* relations to be dropped */
|
||||||
|
bool sequence;
|
||||||
} DestroyStmt;
|
} DestroyStmt;
|
||||||
|
|
||||||
/* ----------------------
|
/* ----------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user