pgsql: Export xml.c's libxml-error-handling support so that contrib/xml2

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Export xml.c's libxml-error-handling support so that contrib/xml2
Date: 2010-03-03 17:30:01
Message-ID: 20100303173001.B099D7541D1@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Export xml.c's libxml-error-handling support so that contrib/xml2 can use it
too, instead of duplicating the functionality (badly).

I renamed xml_init to pg_xml_init, because the former seemed just a bit too
generic to be safe as a global symbol. I considered likewise renaming
xml_ereport to pg_xml_ereport, but felt that the reference to ereport probably
made it sufficiently PG-centric already.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
pgsql/src/backend/utils/adt:
xml.c (r1.68.2.13 -> r1.68.2.14)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/xml.c?r1=1.68.2.13&r2=1.68.2.14)
pgsql/src/include/utils:
xml.h (r1.23.2.1 -> r1.23.2.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/xml.h?r1=1.23.2.1&r2=1.23.2.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-03-03 19:10:22 pgsql: Make contrib/xml2 use core xml.c's error handler, when available
Previous Message Tom Lane 2010-03-03 17:29:53 pgsql: Export xml.c's libxml-error-handling support so that contrib/xml2