]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix encoding handling in xml binary input function. If the XML header didn't
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 4 Sep 2009 10:49:43 +0000 (10:49 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 4 Sep 2009 10:49:43 +0000 (10:49 +0000)
commita3cd02e97a0037c9774faa8aeee56d3c4da2d790
treeabe1f90b61629b6708750a00b42264bb05aa7fef
parent6883b7df92f7871c0c8e52f60e0e19c2f73c3746
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.
src/backend/utils/adt/xml.c