]> git.ipfire.org Git - thirdparty/postgresql.git/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:53 +0000 (17:29 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Mar 2010 17:29:53 +0000 (17:29 +0000)
commit3c93c3ab9535e88e47d1f357e5a77a0905dfcc01
tree67de6ba356d5a85404794d8b60456a12faecfea1
parentb4631ca0bb91fb9a3681e9f2460392dbe57d6112
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