On Sat, Aug 12, 2017 at 8:46 PM, Michael Paquier <michael.paqu...@gmail.com> wrote: > I have not investigated much this problem yet, but has somebody else > seen those diffs?
Coming back to that... Downgrading down to 2.9.4+4+g3169602-1 is proving to put things back the way they should. Even downgrading to 2.9.4+91+g872fea94-1 did not help much, and 2.9.4+96+gfb56f80e-1 is the newest version. I have logged an issue to archlinux website to let them know about the regression, because they are shipping a broken package: https://bugs.archlinux.org/task/55134 Using this information I have done as well some bisecting of libxml2, to finish with the following commit as culprit: commit 46dc989080d5d6b7854de8fb3cb3de55ecbf0621 Author: Nick Wellnhofer <wellnho...@aevum.de> Date: Thu Jun 8 02:24:56 2017 +0200 Don't switch encoding for internal parameter entities This is only needed for external entities. Trying to switch the encoding for internal entities could also cause a memory leak in recovery mode. So I have logged as well a bug for the upstream folks: https://bugzilla.gnome.org/show_bug.cgi?id=786267 Please note that I have not concluded yet if PostgreSQL is to blame or not in this case with its use of the libxml2 APIs... -- Michael -- Sent via pgsql-hackers mailing list (firstname.lastname@example.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers