]> granicus.if.org Git - postgresql/blobdiff - src/test/regress/expected/xml_1.out
Avoid failure when selecting a namespace node in XMLTABLE.
[postgresql] / src / test / regress / expected / xml_1.out
index d1a03b51a3dc39c8f27d9952116d45109a8c9179..ec6457875ffa31a14bc35cdef39f7d157064828d 100644 (file)
@@ -1048,6 +1048,14 @@ LINE 3:                       PASSING '<rows xmlns="http://x.y"><row...
                                       ^
 DETAIL:  This functionality requires the server to be built with libxml support.
 HINT:  You need to rebuild PostgreSQL using --with-libxml.
+SELECT * FROM XMLTABLE('.'
+                       PASSING '<foo/>'
+                       COLUMNS a text PATH 'foo/namespace::node()');
+ERROR:  unsupported XML feature
+LINE 2:                        PASSING '<foo/>'
+                                       ^
+DETAIL:  This functionality requires the server to be built with libxml support.
+HINT:  You need to rebuild PostgreSQL using --with-libxml.
 -- used in prepare statements
 PREPARE pp AS
 SELECT  xmltable.*