]> granicus.if.org Git - postgresql/commit
Export xml.c's libxml-error-handling support so that contrib/xml2 can use it
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Mar 2010 17:30:01 +0000 (17:30 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Mar 2010 17:30:01 +0000 (17:30 +0000)
commitf821c16e953355502714d364418b095f7fd53330
treef90d64ec25d1780139fa911082b6a0661633085e
parentdbef7179094346f948001931fb80e2a8f9e33071
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.
src/backend/utils/adt/xml.c
src/include/utils/xml.h