From 113fbe1264a8b6d757afc54c6df29de80720c7bd Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 12 Jan 2007 22:09:49 +0000 Subject: [PATCH] Fix compiler warning --- src/backend/parser/parse_expr.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/backend/parser/parse_expr.c b/src/backend/parser/parse_expr.c index e3c79c0cf5..d9e42011d4 100644 --- a/src/backend/parser/parse_expr.c +++ b/src/backend/parser/parse_expr.c @@ -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");