Skip to content
Snippets Groups Projects
Commit e1cce4d5 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

This corrects an error in current gram.y for ALTER TABLE ... ADD

CONSTRAINT

Oliver Elphick
parent 41d4548b
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment