]> granicus.if.org Git - postgresql/commit
Back-patch today's memory management fixups in contrib/xml2.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Mar 2010 03:41:11 +0000 (03:41 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 1 Mar 2010 03:41:11 +0000 (03:41 +0000)
commit4f146ab3e793ddbdcbb75b7b9c8780f75247ca92
tree32071955f7eab4934fda12f290a54102a2a17da7
parenta8cf68f7df580d6b1b26a808b7c20dbe5879cc1b
Back-patch today's memory management fixups in contrib/xml2.

Prior to 8.3, these changes are not critical for compatibility with core
Postgres, since core had no libxml2 calls then.  However there is still
a risk if contrib/xml2 is used along with libxml2 functionality in Perl
or other loadable modules.  So back-patch to all versions.

Also back-patch addition of regression tests.  I'm not sure how many of
the cases are interesting without the interaction with core xml code,
but a silly regression test is still better than none at all.
contrib/xml2/Makefile
contrib/xml2/expected/xml2.out [new file with mode: 0644]
contrib/xml2/sql/xml2.sql [new file with mode: 0644]
contrib/xml2/xpath.c
contrib/xml2/xslt_proc.c