pgsql: It turns out the LIBXML_TEST_VERSION macro calls xmlInitParser(). - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: It turns out the LIBXML_TEST_VERSION macro calls xmlInitParser().
Date
Msg-id 20080112211408.EBF2F754108@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
It turns out the LIBXML_TEST_VERSION macro calls xmlInitParser().
Therefore we must xmlCleanupParser(), or we risk leaving behind
dangling pointers to whatever memory context is current when xml_init()
is called.  This seems to fix bug #3860, though we might still want
the more invasive solution being worked on by Alvaro.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        xml.c (r1.66 -> r1.67)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/xml.c?r1=1.66&r2=1.67)

pgsql-committers by date:

Previous
From: conni@pgfoundry.org (User Conni)
Date:
Subject: press - pr: added asyc commit
Next
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Update documentation for tsvector duplicate elimination: !