diff options
author | Thomas G. Lockhart | 1998-08-25 15:09:31 +0000 |
---|---|---|
committer | Thomas G. Lockhart | 1998-08-25 15:09:31 +0000 |
commit | e0e461e1a300610d50595961d883a8240889ccbf (patch) | |
tree | 07a485607a4056923714f9ef64d8778f005f724c /src | |
parent | 7ff198cd46d646206cab5a8547d8bf8fe1a39cbb (diff) |
Add is_sequence flag to ColumnDef structure. Used to implement SERIAL type.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/nodes/parsenodes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 7d3545bde22..2ffa6081fe7 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.55 1998/08/24 01:14:24 momjian Exp $ + * $Id: parsenodes.h,v 1.56 1998/08/25 15:09:31 thomas Exp $ * *------------------------------------------------------------------------- */ @@ -708,6 +708,7 @@ typedef struct ColumnDef char *colname; /* name of column */ TypeName *typename; /* type of column */ bool is_not_null; /* flag to NOT NULL constraint */ + bool is_sequence; /* is a sequence? */ char *defval; /* default value of column */ List *constraints; /* constraints on column */ } ColumnDef; |