Thread: pgsql: Back-patch today's memory management fixups in contrib/xml2.
pgsql: Back-patch today's memory management fixups in contrib/xml2.
From
tgl@postgresql.org (Tom Lane)
Date:
Log Message: ----------- 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. Tags: ---- REL8_4_STABLE Modified Files: -------------- pgsql/contrib/xml2: Makefile (r1.12 -> r1.12.2.1) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/xml2/Makefile?r1=1.12&r2=1.12.2.1) xpath.c (r1.23.2.1 -> r1.23.2.2) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/xml2/xpath.c?r1=1.23.2.1&r2=1.23.2.2) xslt_proc.c (r1.15.2.1 -> r1.15.2.2) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/xml2/xslt_proc.c?r1=1.15.2.1&r2=1.15.2.2) Added Files: ----------- pgsql/contrib/xml2/expected: xml2.out (r1.1.2.1) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/xml2/expected/xml2.out?rev=1.1.2.1&content-type=text/x-cvsweb-markup) pgsql/contrib/xml2/sql: xml2.sql (r1.1.2.1) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/xml2/sql/xml2.sql?rev=1.1.2.1&content-type=text/x-cvsweb-markup)