Re: Use \if/\endif to remove non-libxml2 expected output in regression tests - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Use \if/\endif to remove non-libxml2 expected output in regression tests
Date
Msg-id 132988.1781484989@sss.pgh.pa.us
Whole thread
In response to Re: Use \if/\endif to remove non-libxml2 expected output in regression tests  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Use \if/\endif to remove non-libxml2 expected output in regression tests
List pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:
> Okay.  So fusioning my stuff, your stuff and Daniel's comment
> suggestion, I get the attached.  That's working here with my system's
> libxml2 (2.12.10), libxml2 2.9.3 and without libxml2.

> Does that look right?  

Locally, I'd changed the line

+INSERT INTO xmltest VALUES (3, '<value>two</wrong>  ');

to be

+INSERT INTO xmltest VALUES (3, '<value>three</wrong>  ');

after sending my 1.0 patch; it was basically a copy-and-paste
error that it wasn't "three" already.  That would have follow-on
effects in xml.out and xml_1.out, so if you don't feel like
adopting it, I won't complain hard.  No other suggestions.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Use \if/\endif to remove non-libxml2 expected output in regression tests
Next
From: Chao Li
Date:
Subject: Re: Fix ALTER DOMAIN VALIDATE CONSTRAINT locking