Re: 9.0 release notes done - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: 9.0 release notes done
Date
Msg-id 4BA4FB0C.90506@dunslane.net
Whole thread Raw
In response to Re: 9.0 release notes done  (Bruce Momjian <bruce@momjian.us>)
Responses Re: 9.0 release notes done
Re: xmlconcat (was 9.0 release notes done)
List pgsql-hackers

Bruce Momjian wrote:
> Well, Tom and I have already posted publicly about it.  There is nothing
> that either us see on the 9.0 "Bugs" open items list that would delay a
> beta:
>
>     http://wiki.postgresql.org/wiki/PostgreSQL_9.0_Open_Items
>   

I have just been looking at the xmlconcat bug on that list. I can't 
think of any better solution than parsing the resulting string to make 
sure it is well-formed before we return, with lines something like this:
   xmlDocPtr   doc;   xmltype *str = stringinfo_to_xmltype(&buf);   doc = xml_parse(str, xmloption, true,
GetDatabaseEncoding());  xmlFreeDoc(doc);
 
     

That's surely going to affect the performance of xmlconcat, not sure how 
much.

Does anyone have a better suggestion?

cheers

andrew



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: 9.0 release notes done
Next
From: Daniel Farina
Date:
Subject: Windowing Qual Pushdown