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

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Daniel Gustafsson <daniel@yesql.se>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-06-15T01:14:46Z
Lists: pgsql-hackers
On Sun, Jun 14, 2026 at 08:56:29PM -0400, Tom Lane wrote:
> 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.

Makes sense.  Thanks for double-checking.
--
Michael

Commits

  1. Trim regression test expected output for xml

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