Thread: 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

From
tgl@postgresql.org (Tom Lane)
Date:
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.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        xml.c (r1.68.2.4 -> r1.68.2.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/xml.c?r1=1.68.2.4&r2=1.68.2.5)