libxml2 2.9.3 breaks xml test output

Поиск
Список
Период
Сортировка
Искать

libxml2 2.9.3 breaks xml test output

От:
Christian Ullrich <chris@chrullrich.net>
Дата:
Hello,

I just noticed that last night all built branches failed on my buildfarm 
animal, jaguarundi. They all failed on the "xml" test, and the output is 
essentially the same everywhere:

***************
*** 9,16 ****  LINE 1: INSERT INTO xmltest VALUES (3, '', NULL, '');    xmlconcat  --------------

The last thing I did in regard to XML on this system was upgrade libxml2 
from 2.9.2 to 2.9.3. I bisected it a a bit and the guilty commit to 
libxml2 is ce0b0d0d8 "Do not print error context when there is none" 
from about two weeks ago.

I have zero experience with libxml2, so no idea if the previous context 
level can be turned on again. IMHO, the libxml2 change is a bug in 
itself; PostgreSQL's error messages are more readable with the XML text 
in them.

-- 
Christian



Re: libxml2 2.9.3 breaks xml test output

От:
Michael Paquier <michael.paquier@gmail.com>
Дата:
On Sat, Dec 5, 2015 at 4:38 PM, Christian Ullrich  wrote:
> I have zero experience with libxml2, so no idea if the previous context
> level can be turned on again. IMHO, the libxml2 change is a bug in itself;
> PostgreSQL's error messages are more readable with the XML text in them.

See here for example you are not the only one to see this problem:
http://www.postgresql.org/message-id/CAFj8pRA4xJQFGNQCqMCYGx-umgMr3Stt3xFEUw7kBsOiOvGhkA@mail.gmail.com
https://bugzilla.redhat.com/show_bug.cgi?id=1286692
--
Michael


Re: libxml2 2.9.3 breaks xml test output

От:
Christian Ullrich <chris@chrullrich.net>
Дата:
* Michael Paquier wrote:

> On Sat, Dec 5, 2015 at 4:38 PM, Christian Ullrich  wrote:
>> I have zero experience with libxml2, so no idea if the previous context
>> level can be turned on again. IMHO, the libxml2 change is a bug in itself;
>> PostgreSQL's error messages are more readable with the XML text in them.
>
> See here for example you are not the only one to see this problem:
> http://www.postgresql.org/message-id/CAFj8pRA4xJQFGNQCqMCYGx-umgMr3Stt3xFEUw7kBsOiOvGhkA@mail.gmail.com
> https://bugzilla.redhat.com/show_bug.cgi?id=1286692

Right. Sorry, I had checked the archives for earlier mentions of the 
issue, but had not found Pavel's post.

-- 
Christian





FAQ