XMLATTRIBUTES() should send the attribute values through
Peter Eisentraut <peter_e@gmx.net>
XMLATTRIBUTES() should send the attribute values through map_sql_value_to_xml_value() instead of directly through the data type output function. This is per SQL standard, and consistent with XMLELEMENT().
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/execQual.c | modified | +1 −12 |
| src/backend/utils/adt/xml.c | modified | +2 −5 |
| src/include/nodes/execnodes.h | modified | +1 −2 |
| src/test/regress/expected/xml_1.out | modified | +12 −0 |
| src/test/regress/expected/xml.out | modified | +15 −0 |
| src/test/regress/sql/xml.sql | modified | +4 −0 |