Re: garbage in xml regress test

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: garbage in xml regress test
Date: 2016-08-08 03:15:56
Message-ID: CAFj8pRCNscHoUJBZWR0S8Fhy4O4bGcVUuH+QWxTKw0Eb4Pnp=g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2016-08-07 23:16 GMT+02:00 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:

> Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> > When I checked result of xml test I found some strange lines in
> > expected/xml.out file
> > It is little bit strange - regress test reports ok, but diff is not empty
>
> Probably your copy of libxml produces the results in xml_2.out instead.
>

no - it is in expected/xml.out

https://github.com/postgres/postgres/blob/master/src/test/regress/expected/xml.out

LINE 1: INSERT INTO xmltest VALUES (3, '<wrong');
^
DETAIL: line 1: Couldn't find end of Start Tag wrong line 1
<wrong
^

Regards

Pavel

> regards, tom lane
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2016-08-08 03:44:36 Re: garbage in xml regress test
Previous Message Craig Ringer 2016-08-08 02:59:20 Re: Detecting skipped data from logical slots (data silently skipped)