OSDN Git Service

Replace xmlroot with a properly functioning version that parses the value,
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 6 Jan 2007 19:18:36 +0000 (19:18 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 6 Jan 2007 19:18:36 +0000 (19:18 +0000)
commit19749fb0cf16dbb3a3e71b0c387edef907ea5d6b
tree484482fde2fa35eb402ddf82af98be660be70715
parent063560bb8e1e3658df858266d593a0ee2d053423
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.
src/backend/utils/adt/xml.c
src/test/regress/expected/xml.out
src/test/regress/expected/xml_1.out
src/test/regress/sql/xml.sql