mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
This corrects an error in current gram.y for ALTER TABLE ... ADD
CONSTRAINT Oliver Elphick
This commit is contained in:
parent
41d4548b0f
commit
e1cce4d5ea
@ -10,7 +10,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.128 2000/01/17 00:14:48 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.129 2000/01/18 06:12:03 momjian Exp $
|
||||
*
|
||||
* HISTORY
|
||||
* AUTHOR DATE MAJOR EVENT
|
||||
@ -844,7 +844,7 @@ AlterTableStmt:
|
||||
| ALTER TABLE relation_name opt_inh_star ADD TableConstraint
|
||||
{
|
||||
AlterTableStmt *n = makeNode(AlterTableStmt);
|
||||
n->subtype = 'A';
|
||||
n->subtype = 'C';
|
||||
n->relname = $3;
|
||||
n->inh = $4;
|
||||
n->def = $6;
|
||||
|
Loading…
x
Reference in New Issue
Block a user