OSDN Git Service

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:04 +0000 (15:49 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 9 Oct 2008 15:49:04 +0000 (15:49 +0000)
commit1b0f58a9ce29f36733a07c81aa4e05a016fc2a85
treef2f97f6f4c13726a582e49f434276cee31f4f4bf
parentdb31addaae1664b2e9028421d8a545f2c0ef2746
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