Back-patch changes of 2009-05-13 in xml.c's memory management.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a8cf68f7df580d6b1b26a808b7c20dbe5879cc1b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-03-01T02:21:40Z
Releases: 8.3.10
Back-patch changes of 2009-05-13 in xml.c's memory management.

I was afraid to do this when these changes were first made, but now that
8.4 has seen some field use it should be all right to back-patch.  These
changes are really quite necessary in order to give xml.c any hope of
co-existing with loadable modules that also wish to use libxml2.

Files

PathChange+/−
src/backend/access/transam/xact.c modified +1 −6
src/backend/utils/adt/xml.c modified +180 −107
src/include/utils/xml.h modified +1 −3