File tree 1 file changed +4
-10
lines changed
1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 10
10
*
11
11
*
12
12
* IDENTIFICATION
13
- * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.73 1997/11/30 23:11:10 thomas Exp $
13
+ * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.74 1997/12/02 02:54:15 thomas Exp $
14
14
*
15
15
* HISTORY
16
16
* AUTHOR DATE MAJOR EVENT
@@ -731,17 +731,11 @@ ConstraintDef: CHECK constraint_elem
731
731
$$ = constr;
732
732
}
733
733
| UNIQUE '(' columnList ')'
734
- { elog(WARN ,"CREATE TABLE/UNIQUE not yet implemented",NULL); }
734
+ { elog(NOTICE ,"CREATE TABLE/UNIQUE clause ignored; not yet implemented",NULL); }
735
735
| PRIMARY KEY '(' columnList ')'
736
- {
737
- ConstraintDef *constr = palloc (sizeof(ConstraintDef));
738
- constr->type = CONSTR_PRIMARY;
739
- constr->name = NULL;
740
- constr->keys = $4;
741
- $$ = constr;
742
- }
736
+ { elog(NOTICE,"CREATE TABLE/PRIMARY KEY clause ignored; not yet implemented",NULL); }
743
737
| FOREIGN KEY '(' columnList ')' REFERENCES ColId opt_column_list key_match key_actions
744
- { elog(NOTICE,"FOREIGN KEY clause ignored; not yet implemented",NULL); }
738
+ { elog(NOTICE,"CREATE TABLE/ FOREIGN KEY clause ignored; not yet implemented",NULL); }
745
739
;
746
740
747
741
constraint_elem: AexprConst
You can’t perform that action at this time.
0 commit comments