@@ -148,6 +148,18 @@ SELECT xmlelement(name foo, bytea 'bar');
148
148
ERROR: unsupported XML feature
149
149
DETAIL: This functionality requires the server to be built with libxml support.
150
150
HINT: You need to rebuild PostgreSQL using --with-libxml.
151
+ SELECT xmlelement(name foo, xmlattributes(true as bar));
152
+ ERROR: unsupported XML feature
153
+ DETAIL: This functionality requires the server to be built with libxml support.
154
+ HINT: You need to rebuild PostgreSQL using --with-libxml.
155
+ SELECT xmlelement(name foo, xmlattributes('2009-04-09 00:24:37'::timestamp as bar));
156
+ ERROR: unsupported XML feature
157
+ DETAIL: This functionality requires the server to be built with libxml support.
158
+ HINT: You need to rebuild PostgreSQL using --with-libxml.
159
+ SELECT xmlelement(name foo, xmlattributes('infinity'::timestamp as bar));
160
+ ERROR: unsupported XML feature
161
+ DETAIL: This functionality requires the server to be built with libxml support.
162
+ HINT: You need to rebuild PostgreSQL using --with-libxml.
151
163
SELECT xmlparse(content 'abc');
152
164
ERROR: unsupported XML feature
153
165
DETAIL: This functionality requires the server to be built with libxml support.