$ make -C src/test/regress runtest
[ ... ]
test xml                  ... FAILED
test stats                ... ok
test tablespace           ... ok

========================
 1 of 105 tests failed. 
========================

The regression.diffs are attached. Note that this reproduces
consistently, but only occurs if I use the "runtest" Makefile target
(i.e. run the regression tests in serial mode); "make check" works fine,
for example.

-Neil

*** ./expected/xml.out	Sat Jan 20 11:58:03 2007
--- ./results/xml.out	Sat Jan 20 12:05:01 2007
***************
*** 57,64 ****
  DETAIL:  Expected '>'
  SELECT xmlconcat('<foo/>', NULL, '<?xml version="1.1" standalone="no"?><bar/>');
               xmlconcat             
! -----------------------------------
!  <?xml version="1.1"?><foo/><bar/>
  (1 row)
  
  SELECT xmlelement(name element,
--- 57,64 ----
  DETAIL:  Expected '>'
  SELECT xmlconcat('<foo/>', NULL, '<?xml version="1.1" standalone="no"?><bar/>');
                       xmlconcat                     
! ---------------------------------------------------
!  <foo/><?xml version="1.1" standalone="no"?><bar/>
  (1 row)
  
  SELECT xmlelement(name element,
***************
*** 275,297 ****
  ERROR:  invalid XML content
  DETAIL:  Element name not found
  SELECT xmlagg(data) FROM xmltest;
!                 xmlagg                
! --------------------------------------
!  <value>one</value><value>two</value>
! (1 row)
! 
  SELECT xmlagg(data) FROM xmltest WHERE id > 10;
!  xmlagg 
! --------
!  
! (1 row)
! 
  SELECT xmlelement(name employees, xmlagg(xmlelement(name name, name))) FROM emp;
!                                                            xmlelement                                                           
! --------------------------------------------------------------------------------------------------------------------------------
!  <employees><name>sharon</name><name>sam</name><name>bill</name><name>jeff</name><name>cim</name><name>linda</name></employees>
! (1 row)
! 
  -- Check mapping SQL identifier to XML name
  SELECT xmlpi(name ":::_xml_abc135.%-&_");
                        xmlpi                      
--- 275,294 ----
  ERROR:  invalid XML content
  DETAIL:  Element name not found
  SELECT xmlagg(data) FROM xmltest;
! ERROR:  function xmlagg(xml) does not exist
! LINE 1: SELECT xmlagg(data) FROM xmltest;
!                ^
! HINT:  No function matches the given name and argument types. You may need to add explicit type casts.
  SELECT xmlagg(data) FROM xmltest WHERE id > 10;
! ERROR:  function xmlagg(xml) does not exist
! LINE 1: SELECT xmlagg(data) FROM xmltest WHERE id > 10;
!                ^
! HINT:  No function matches the given name and argument types. You may need to add explicit type casts.
  SELECT xmlelement(name employees, xmlagg(xmlelement(name name, name))) FROM emp;
! ERROR:  function xmlagg(xml) does not exist
! LINE 1: SELECT xmlelement(name employees, xmlagg(xmlelement(name nam...
!                                           ^
! HINT:  No function matches the given name and argument types. You may need to add explicit type casts.
  -- Check mapping SQL identifier to XML name
  SELECT xmlpi(name ":::_xml_abc135.%-&_");
                        xmlpi                      

======================================================================

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to