From e1cce4d5eadabf12d27c949bd0f185b971826276 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 18 Jan 2000 06:12:03 +0000 Subject: [PATCH] This corrects an error in current gram.y for ALTER TABLE ... ADD CONSTRAINT Oliver Elphick --- src/backend/parser/gram.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y index c4901b4c51..a0e53e6963 100644 --- a/src/backend/parser/gram.y +++ b/src/backend/parser/gram.y @@ -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; -- 2.40.0