Fix compiler warning

This commit is contained in:
Peter Eisentraut 2007-01-12 22:09:49 +00:00
parent 8b35795362
commit 113fbe1264

View File

@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/parser/parse_expr.c,v 1.206 2007/01/12 16:29:24 petere Exp $ * $PostgreSQL: pgsql/src/backend/parser/parse_expr.c,v 1.207 2007/01/12 22:09:49 petere Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -1455,6 +1455,9 @@ transformXmlExpr(ParseState *pstate, XmlExpr *x)
newe = coerce_to_specific_type(pstate, newe, XMLOID, newe = coerce_to_specific_type(pstate, newe, XMLOID,
"XMLCONCAT"); "XMLCONCAT");
break; break;
case IS_XMLELEMENT:
/* no coercion necessary */
break;
case IS_XMLFOREST: case IS_XMLFOREST:
newe = coerce_to_specific_type(pstate, newe, XMLOID, newe = coerce_to_specific_type(pstate, newe, XMLOID,
"XMLFOREST"); "XMLFOREST");