提交 b34cbe00 编写于 作者: B Bruce Momjian

The attached patch fixes 2 trivial warnings generated by bison 1.35,

as a result of Peter's recent CREATE CAST changes.

Neil Conway
上级 1ac7db44
......@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.347 2002/07/18 23:11:27 petere Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.348 2002/07/20 05:58:34 momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
......@@ -3136,6 +3136,7 @@ CreateCastStmt: CREATE CAST '(' ConstTypename AS ConstTypename ')'
n->implicit = $10;
$$ = (Node *)n;
}
;
opt_assignment: AS ASSIGNMENT { $$ = TRUE; }
| /*EMPTY*/ { $$ = FALSE; }
......@@ -3150,6 +3151,7 @@ DropCastStmt: DROP CAST '(' ConstTypename AS ConstTypename ')' opt_drop_behavior
n->behavior = $8;
$$ = (Node *)n;
}
;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册