pgsql: Fix encoding handling in xml binary input function.

From: heikki(at)postgresql(dot)org (Heikki Linnakangas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix encoding handling in xml binary input function.
Date: 2009-09-04 10:49:29
Message-ID: 20090904104929.C0C77753FB7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix encoding handling in xml binary input function. If the XML header didn't
specify an encoding explicitly, we used to treat it as being in database
encoding when we parsed it, but then perform a UTF-8 -> database encoding
conversion on it, which was completely bogus. It's now consistently treated as
UTF-8.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
xml.c (r1.93 -> r1.94)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/xml.c?r1=1.93&r2=1.94)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2009-09-04 10:49:43 pgsql: Fix encoding handling in xml binary input function.
Previous Message Dave Page 2009-09-04 10:41:19 pginstaller - pginst: Update for 8.2.14