Re: pgsql: Allow for arbitrary data types as content - Mailing list pgsql-committers

From Neil Conway
Subject Re: pgsql: Allow for arbitrary data types as content
Date
Msg-id 1168635601.6174.5.camel@localhost.localdomain
Whole thread Raw
In response to pgsql: Allow for arbitrary data types as content in XMLELEMENT.  (petere@postgresql.org (Peter Eisentraut))
List pgsql-committers
On Fri, 2007-01-12 at 12:29 -0400, Peter Eisentraut wrote:
> Allow for arbitrary data types as content in XMLELEMENT.  The original
> coercion to type xml was a mistake.  Escape values so they are valid
> XML character data.

parse_expr.c: In function 'transformXmlExpr':
parse_expr.c:1452: warning: enumeration value 'IS_XMLELEMENT' not
handled in switch
% gcc --version
gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)

-Neil



pgsql-committers by date:

Previous
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Update to_char("CC") description.
Next
From: petere@postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql: Use XML output escaping also in XMLFOREST.