Replace xmlroot with a properly functioning version that parses the value,

Peter Eisentraut <peter_e@gmx.net>

Commit: 19749fb0cf16dbb3a3e71b0c387edef907ea5d6b
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2007-01-06T19:18:36Z
Releases: 8.3.0
Replace xmlroot with a properly functioning version that parses the value,
sets the items, and serializes the value back (rather than adding an
arbitrary number of XML preambles as before).

The libxml memory management via palloc had to be disabled because it
crashes when libxml tries to access memory that was helpfully freed
earlier by PostgreSQL.  This needs further thought.

Files