Commit e0e461e1 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Add is_sequence flag to ColumnDef structure. Used to implement SERIAL type.

parent 7ff198cd
...@@ -6,7 +6,7 @@ ...@@ -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.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 ...@@ -708,6 +708,7 @@ typedef struct ColumnDef
char *colname; /* name of column */ char *colname; /* name of column */
TypeName *typename; /* type of column */ TypeName *typename; /* type of column */
bool is_not_null; /* flag to NOT NULL constraint */ bool is_not_null; /* flag to NOT NULL constraint */
bool is_sequence; /* is a sequence? */
char *defval; /* default value of column */ char *defval; /* default value of column */
List *constraints; /* constraints on column */ List *constraints; /* constraints on column */
} ColumnDef; } ColumnDef;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment