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

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

Neil Conway
This commit is contained in:
Bruce Momjian 2002-07-20 05:58:34 +00:00
parent 1ac7db4468
commit b34cbe006f
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}
;