Re: [HACKERS] garbage in xml regress test

2016-08-07 Thread Pavel Stehule
2016-08-08 5:44 GMT+02:00 Tom Lane :

> Pavel Stehule  writes:
> > 2016-08-07 23:16 GMT+02:00 Tom Lane :
> >> Probably your copy of libxml produces the results in xml_2.out instead.
>
> > no - it is in expected/xml.out
>
> No, the output you're producing is in results/xml.out, but if the
> regression test harness isn't complaining about it, it's because it
> matches one of the available expected/xml*.out files.  Which would
> be xml_2.out, looks like.
>

understand

Thank you

Pavel


>
> regards, tom lane
>


Re: [HACKERS] garbage in xml regress test

2016-08-07 Thread Tom Lane
Pavel Stehule  writes:
> 2016-08-07 23:16 GMT+02:00 Tom Lane :
>> Probably your copy of libxml produces the results in xml_2.out instead.

> no - it is in expected/xml.out

No, the output you're producing is in results/xml.out, but if the
regression test harness isn't complaining about it, it's because it
matches one of the available expected/xml*.out files.  Which would
be xml_2.out, looks like.

regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] garbage in xml regress test

2016-08-07 Thread Pavel Stehule
2016-08-07 23:16 GMT+02:00 Tom Lane :

> Pavel Stehule  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, '


Re: [HACKERS] garbage in xml regress test

2016-08-07 Thread Tom Lane
Pavel Stehule  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.

regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


[HACKERS] garbage in xml regress test

2016-08-07 Thread Pavel Stehule
Hi

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

[pavel@nemesis regress]$ diff results/xml.out expected/xml.out
11a12,13
>^
63a66,67
> ^
222a227,228
> &
> ^
228a235,236
> 
>^
246a255,256
> 
> ^
247a258,259
> 
> ^
256a269,270
>
>^
273a288,289
> &
>   ^
279a296,297
> 
>^
297a316,317
> 
> ^

Regards

Pavel