agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Trim regression test expected output for xml
Date: Mon, 15 Jun 2026 02:38:29 +0000
Message-ID: <E1wYxDZ-000MXs-0U@gemulon.postgresql.org> (raw)

Trim regression test expected output for xml

This commit reduces the number of expected output files for the "xml"
test from three to two (well, mostly one, see below for details).

xml_2.out existed to handle some differences in output due to libxml2
2.9.3, due to some error context missing (085423e3e326).  This file is
removed, by tweaking the XML inputs to trigger the same error patterns
for the problematic 2.9.3 and other libxml2 versions.  This part is
authored by Tom Lane.

xml_1.out (no libxml2 support) is reduced in size by adding an \if query
that exits the test early.  This still checks NO_XML_SUPPORT() through
xmlin().  The rest of the test is skipped if XML input cannot be
handled by the backend.  This part has been written by me.

Author: Tom Lane <tgl@sss.pgh.pa.us>
Author: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/aiu6CXO67q-s70n5@paquier.xyz
Backpatch-through: 14

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2adc3c8ebdfbab1a794175a7df8354d1e6f6cd67

Modified Files
--------------
src/test/regress/expected/xml.out   |   56 +-
src/test/regress/expected/xml_1.out | 1255 +---------------------------
src/test/regress/expected/xml_2.out | 1561 -----------------------------------
src/test/regress/sql/xml.sql        |   21 +-
4 files changed, 52 insertions(+), 2841 deletions(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1wYxDZ-000MXs-0U@gemulon.postgresql.org>
Permalink:  ../E1wYxDZ-000MXs-0U@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wYxDZ-000MXs-0U@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Trim regression test expected output for xml
  In-Reply-To: <E1wYxDZ-000MXs-0U@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox