]> granicus.if.org Git - postgresql/commit
Check to see whether libxml2 handles error context the way we expect.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 Jul 2011 20:29:53 +0000 (16:29 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 Jul 2011 20:31:04 +0000 (16:31 -0400)
commitc1420fcf7d9e899b3378e25f5e21776f6461b4a4
tree69326a45913ddcc487d4f8084fb465065cd6b6d5
parente67efb01e886d69d40d1cd87fba4507e8bb1035e
Check to see whether libxml2 handles error context the way we expect.

It turns out to be possible to link against a libxml2.so that does this
differently than the version we configured and built against, so we need
a runtime check to avoid bizarre behavior.  Per report from Bernd Helmle.
Patch by Florian Pflug.
src/backend/utils/adt/xml.c