pgsql: It turns out the LIBXML_TEST_VERSION macro calls xmlInitParser().

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: It turns out the LIBXML_TEST_VERSION macro calls xmlInitParser().
Date: 2008-01-12 21:14:08
Message-ID: 20080112211408.EBF2F754108@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2008-01-12 21:51:36 pgsql: Update documentation for tsvector duplicate elimination: !
Previous Message User Conni 2008-01-12 17:57:15 press - pr: added asyc commit