pgsql: Add an expected-file to match behavior of latest libxml2.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add an expected-file to match behavior of latest libxml2.
Date: 2015-12-12 00:09:14
Message-ID: E1a7XkQ-00084j-4t@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add an expected-file to match behavior of latest libxml2.

Recent releases of libxml2 do not provide error context reports for errors
detected at the very end of the input string. This appears to be a bug, or
at least an infelicity, introduced by the fix for libxml2's CVE-2015-7499.
We can hope that this behavioral change will get undone before too long;
but the security patch is likely to spread a lot faster/further than any
follow-on cleanup, which means this behavior is likely to be present in the
wild for some time to come. As a stopgap, add a variant regression test
expected-file that matches what you get with a libxml2 that acts this way.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/085423e3e326da1b52f41aa86126f2a064a7db25

Modified Files
--------------
src/test/regress/expected/xml_2.out | 934 +++++++++++++++++++++++++++++++++++
1 file changed, 934 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-12-12 00:11:05 Re: pgsql: pg_rewind: Don't error if the two clusters are already on the sa
Previous Message Peter Eisentraut 2015-12-11 23:33:26 pgsql: pg_rewind: Don't error if the two clusters are already on the sa