]> granicus.if.org Git - postgresql/commitdiff
Fix compiler warning
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 12 Jan 2007 22:09:49 +0000 (22:09 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 12 Jan 2007 22:09:49 +0000 (22:09 +0000)
src/backend/parser/parse_expr.c

index e3c79c0cf5bbf35e11eca8eb1f78137a690fab56..d9e42011d414133fc6ea4bdb5a4b0d94e1753fcb 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * 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,
                                                                                           "XMLCONCAT");
                                break;
+                       case IS_XMLELEMENT:
+                               /* no coercion necessary */
+                               break;
                        case IS_XMLFOREST:
                                newe = coerce_to_specific_type(pstate, newe, XMLOID,
                                                                                           "XMLFOREST");