]> granicus.if.org Git - postgresql/commit
Fix crash in bytea-to-XML mapping when the source value is toasted.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Oct 2008 15:49:10 +0000 (15:49 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Oct 2008 15:49:10 +0000 (15:49 +0000)
commit5b61c9a81288faa290f008efba51ce1fcfe985cd
tree517ab5ecbf7147220a9e1c685dddce7195caab9b
parent95f3c355bd0c2f6d4bbd4314cdf14b8019d03892
Fix crash in bytea-to-XML mapping when the source value is toasted.
Report and fix by Michael McMaster.  Some minor code beautification by me,
also avoid memory leaks in the special-case paths.
src/backend/utils/adt/xml.c