mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +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
|
* 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
|
* HISTORY
|
||||||
* AUTHOR DATE MAJOR EVENT
|
* AUTHOR DATE MAJOR EVENT
|
||||||
@ -844,7 +844,7 @@ AlterTableStmt:
|
|||||||
| ALTER TABLE relation_name opt_inh_star ADD TableConstraint
|
| ALTER TABLE relation_name opt_inh_star ADD TableConstraint
|
||||||
{
|
{
|
||||||
AlterTableStmt *n = makeNode(AlterTableStmt);
|
AlterTableStmt *n = makeNode(AlterTableStmt);
|
||||||
n->subtype = 'A';
|
n->subtype = 'C';
|
||||||
n->relname = $3;
|
n->relname = $3;
|
||||||
n->inh = $4;
|
n->inh = $4;
|
||||||
n->def = $6;
|
n->def = $6;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user