aboutsummaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_gist.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-11-05 22:23:07 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-11-05 22:23:07 +0000
commit85f807d78250fa8bade5ac9da32dfa21b92cb044 (patch)
tree11c58847a66e58a6fb1893973f0694198fa6fec2 /contrib/btree_gist/btree_gist.h
parentbcb3852c3334e089b5546dccdaa33f12914f5337 (diff)
downloadpostgresql-85f807d78250fa8bade5ac9da32dfa21b92cb044.tar.gz
postgresql-85f807d78250fa8bade5ac9da32dfa21b92cb044.zip
Fix xmlelement() to initialize libxml correctly before using it, and to avoid
assuming that evaluation of its input expressions won't change the state of libxml. This requires refactoring xml_init() to not call xmlInitParser(), since now not all of its callers want that. I also tweaked things to avoid repeated execution of one-time-only tests inside xml_init(), though this is mostly for clarity rather than in hopes of saving any noticeable amount of runtime. Per report from Sheikh Amjad and subsequent discussion. In passing, fix a couple of inadequately schema-qualified queries.
Diffstat (limited to 'contrib/btree_gist/btree_gist.h')
0 files changed, 0 insertions, 0 deletions