diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-11-05 22:23:07 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-11-05 22:23:07 +0000 |
commit | 85f807d78250fa8bade5ac9da32dfa21b92cb044 (patch) | |
tree | 11c58847a66e58a6fb1893973f0694198fa6fec2 /contrib/btree_gist/btree_utils_num.c | |
parent | bcb3852c3334e089b5546dccdaa33f12914f5337 (diff) | |
download | postgresql-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_utils_num.c')
0 files changed, 0 insertions, 0 deletions