]> 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:29:45 +0000 (17:29 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Mar 2010 17:29:45 +0000 (17:29 +0000)
commit8bf14182cfeeae2ad5e5feb792701250e1218638
tree19c6a75b5723ed3db9e9cc5ae05042b655b77905
parent3a8497892c69352e48f5f26e2a2299ee5a7934a5
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