Skip site navigation (1) Skip section navigation (2)

pgsql: Back-patch today's memory management fixups in contrib/xml2.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Back-patch today's memory management fixups in contrib/xml2.
Date: 2010-03-01 03:41:29
Message-ID: 20100301034129.2A3157541D0@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
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_0_STABLE

Modified Files:
--------------
    pgsql/contrib/xml2:
        Makefile (r1.5.4.2 -> r1.5.4.3)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/xml2/Makefile?r1=1.5.4.2&r2=1.5.4.3)
        xpath.c (r1.6.4.1 -> r1.6.4.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/xml2/xpath.c?r1=1.6.4.1&r2=1.6.4.2)
        xslt_proc.c (r1.3.4.1 -> r1.3.4.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/xml2/xslt_proc.c?r1=1.3.4.1&r2=1.3.4.2)

Added Files:
-----------
    pgsql/contrib/xml2/expected:
        xml2.out (r1.1.10.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/xml2/expected/xml2.out?rev=1.1.10.1&content-type=text/x-cvsweb-markup)
    pgsql/contrib/xml2/sql:
        xml2.sql (r1.1.10.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/xml2/sql/xml2.sql?rev=1.1.10.1&content-type=text/x-cvsweb-markup)

pgsql-committers by date

Next:From: Tom LaneDate: 2010-03-01 05:16:35
Subject: pgsql: Remove xmlCleanupParser calls from contrib/xml2.
Previous:From: Tom LaneDate: 2010-03-01 03:41:22
Subject: pgsql: Back-patch today's memory management fixups in contrib/xml2.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group