pgsql: Fix crash in bytea-to-XML mapping when the source value is
pgsql: Fix crash in bytea-to-XML mapping when the source value is
От:
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
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.
Modified Files:
--------------
pgsql/src/backend/utils/adt:
xml.c (r1.77 -> r1.78)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/xml.c?r1=1.77&r2=1.78)