xml_1.out

来自「postgresql8.3.4源码,开源数据库」· OUT 代码 · 共 367 行 · 第 1/2 页

OUT
367
字号
DETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT xmlroot(xml '<foo/>', version no value, standalone yes);ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT xmlroot(xml '<?xml version="1.1"?><foo/>', version no value, standalone yes);ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT xmlroot(xmlroot(xml '<foo/>', version '1.0'), version '1.1', standalone no);ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT xmlroot('<?xml version="1.1" standalone="yes"?><foo/>', version no value, standalone no);ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT xmlroot('<?xml version="1.1" standalone="yes"?><foo/>', version no value, standalone no value);ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT xmlroot('<?xml version="1.1" standalone="yes"?><foo/>', version no value);ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT xmlroot (  xmlelement (    name gazonk,    xmlattributes (      'val' AS name,      1 + 1 AS num    ),    xmlelement (      NAME qux,      'foo'    )  ),  version '1.0',  standalone yes);ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT xmlserialize(content data as character varying(20)) FROM xmltest; xmlserialize --------------(0 rows)SELECT xmlserialize(content 'good' as char(10));ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT xmlserialize(document 'bad' as text);ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT xml '<foo>bar</foo>' IS DOCUMENT;ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT xml '<foo>bar</foo><bar>foo</bar>' IS DOCUMENT;ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT xml '<abc/>' IS NOT DOCUMENT;ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT xml 'abc' IS NOT DOCUMENT;ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT '<>' IS NOT DOCUMENT;ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT xmlagg(data) FROM xmltest; xmlagg -------- (1 row)SELECT xmlagg(data) FROM xmltest WHERE id > 10; xmlagg -------- (1 row)SELECT xmlelement(name employees, xmlagg(xmlelement(name name, name))) FROM emp;ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.-- Check mapping SQL identifier to XML nameSELECT xmlpi(name ":::_xml_abc135.%-&_");ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT xmlpi(name "123");ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.PREPARE foo (xml) AS SELECT xmlconcat('<foo/>', $1);ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SET XML OPTION DOCUMENT;EXECUTE foo ('<bar/>');ERROR:  prepared statement "foo" does not existEXECUTE foo ('bad');ERROR:  prepared statement "foo" does not existSET XML OPTION CONTENT;EXECUTE foo ('<bar/>');ERROR:  prepared statement "foo" does not existEXECUTE foo ('good');ERROR:  prepared statement "foo" does not exist-- Test backwards parsingCREATE VIEW xmlview1 AS SELECT xmlcomment('test');CREATE VIEW xmlview2 AS SELECT xmlconcat('hello', 'you');ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.CREATE VIEW xmlview3 AS SELECT xmlelement(name element, xmlattributes (1 as ":one:", 'deuce' as two), 'content&');ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.CREATE VIEW xmlview4 AS SELECT xmlelement(name employee, xmlforest(name, age, salary as pay)) FROM emp;ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.CREATE VIEW xmlview5 AS SELECT xmlparse(content '<abc>x</abc>');CREATE VIEW xmlview6 AS SELECT xmlpi(name foo, 'bar');ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.CREATE VIEW xmlview7 AS SELECT xmlroot(xml '<foo/>', version no value, standalone yes);ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.CREATE VIEW xmlview8 AS SELECT xmlserialize(content 'good' as char(10));ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.CREATE VIEW xmlview9 AS SELECT xmlserialize(content 'good' as text);ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT table_name, view_definition FROM information_schema.views  WHERE table_name LIKE 'xmlview%' ORDER BY 1; table_name |                                view_definition                                ------------+------------------------------------------------------------------------------- xmlview1   | SELECT xmlcomment('test'::text) AS xmlcomment; xmlview5   | SELECT XMLPARSE(CONTENT '<abc>x</abc>'::text STRIP WHITESPACE) AS "xmlparse";(2 rows)-- Text XPath expressions evaluationSELECT xpath('/value', data) FROM xmltest; xpath -------(0 rows)SELECT xpath(NULL, NULL) IS NULL FROM xmltest; ?column? ----------(0 rows)SELECT xpath('', '<!-- error -->');ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT xpath('//text()', '<local:data xmlns:local="http://127.0.0.1"><local:piece id="1">number one</local:piece><local:piece id="2" /></local:data>');ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT xpath('//loc:piece/@id', '<local:data xmlns:local="http://127.0.0.1"><local:piece id="1">number one</local:piece><local:piece id="2" /></local:data>', ARRAY[ARRAY['loc', 'http://127.0.0.1']]);ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.SELECT xpath('//b', '<a>one <b>two</b> three <b>etc</b></a>');ERROR:  unsupported XML featureDETAIL:  This functionality requires the server to be built with libxml support.HINT:  You need to rebuild PostgreSQL using --with-libxml.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?