|
|
|
|
@ -107,3 +107,19 @@ SELECT schema_to_xml_and_xmlschema('testxmlschema', true, true, 'foo'); |
|
|
|
|
ERROR: unsupported XML feature |
|
|
|
|
DETAIL: This functionality requires the server to be built with libxml support. |
|
|
|
|
HINT: You need to rebuild PostgreSQL using --with-libxml. |
|
|
|
|
-- test that domains are transformed like their base types |
|
|
|
|
CREATE DOMAIN testboolxmldomain AS bool; |
|
|
|
|
CREATE DOMAIN testdatexmldomain AS date; |
|
|
|
|
CREATE TABLE testxmlschema.test3 |
|
|
|
|
AS SELECT true c1, |
|
|
|
|
true::testboolxmldomain c2, |
|
|
|
|
'2013-02-21'::date c3, |
|
|
|
|
'2013-02-21'::testdatexmldomain c4; |
|
|
|
|
SELECT xmlforest(c1, c2, c3, c4) FROM testxmlschema.test3; |
|
|
|
|
ERROR: unsupported XML feature |
|
|
|
|
DETAIL: This functionality requires the server to be built with libxml support. |
|
|
|
|
HINT: You need to rebuild PostgreSQL using --with-libxml. |
|
|
|
|
SELECT table_to_xml('testxmlschema.test3', true, true, ''); |
|
|
|
|
ERROR: unsupported XML feature |
|
|
|
|
DETAIL: This functionality requires the server to be built with libxml support. |
|
|
|
|
HINT: You need to rebuild PostgreSQL using --with-libxml. |
|
|
|
|
|