agora inbox for pgsql-committers@postgresql.orghelp / color / mirror / Atom feed
pgsql: Trim regression test expected output for xml 6+ messages / 1 participants [nested] [flat]
* pgsql: Trim regression test expected output for xml @ 2026-06-15 02:38 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2026-06-15 02:38 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ master Details ------- https://git.postgresql.org/pg/commitdiff/b78cd2bda5b1a306e2877059011933de1d0fb735 Modified Files -------------- src/test/regress/expected/xml.out | 56 +- src/test/regress/expected/xml_1.out | 1491 +--------------------------- src/test/regress/expected/xml_2.out | 1873 ----------------------------------- src/test/regress/sql/xml.sql | 21 +- 4 files changed, 52 insertions(+), 3389 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Trim regression test expected output for xml @ 2026-06-15 02:38 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2026-06-15 02:38 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e592535d224f7dd411018e373104ffeb85fcddca Modified Files -------------- src/test/regress/expected/xml.out | 56 +- src/test/regress/expected/xml_1.out | 1493 +--------------------------- src/test/regress/expected/xml_2.out | 1875 ----------------------------------- src/test/regress/sql/xml.sql | 21 +- 4 files changed, 52 insertions(+), 3393 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Trim regression test expected output for xml @ 2026-06-15 02:38 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2026-06-15 02:38 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/3928b7a520e3f2ffec26d644d60a467ac7558578 Modified Files -------------- src/test/regress/expected/xml.out | 56 +- src/test/regress/expected/xml_1.out | 1490 +--------------------------- src/test/regress/expected/xml_2.out | 1872 ----------------------------------- src/test/regress/sql/xml.sql | 21 +- 4 files changed, 52 insertions(+), 3387 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Trim regression test expected output for xml @ 2026-06-15 02:38 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2026-06-15 02:38 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/f7fc53d938689668529c33f2830c066900a99082 Modified Files -------------- src/test/regress/expected/xml.out | 56 +- src/test/regress/expected/xml_1.out | 1426 +--------------------------- src/test/regress/expected/xml_2.out | 1795 ----------------------------------- src/test/regress/sql/xml.sql | 21 +- 4 files changed, 52 insertions(+), 3246 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Trim regression test expected output for xml @ 2026-06-15 02:38 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2026-06-15 02:38 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Trim regression test expected output for xml @ 2026-06-15 02:38 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 6+ messages in thread From: Michael Paquier @ 2026-06-15 02:38 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/102689827fa7253e4a46ec76603f2148a6bbbfee Modified Files -------------- src/test/regress/expected/xml.out | 56 +- src/test/regress/expected/xml_1.out | 1412 +------------------------------ src/test/regress/expected/xml_2.out | 1557 ----------------------------------- src/test/regress/sql/xml.sql | 21 +- 4 files changed, 52 insertions(+), 2994 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2026-06-15 02:38 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-06-15 02:38 pgsql: Trim regression test expected output for xml Michael Paquier <michael@paquier.xyz> 2026-06-15 02:38 pgsql: Trim regression test expected output for xml Michael Paquier <michael@paquier.xyz> 2026-06-15 02:38 pgsql: Trim regression test expected output for xml Michael Paquier <michael@paquier.xyz> 2026-06-15 02:38 pgsql: Trim regression test expected output for xml Michael Paquier <michael@paquier.xyz> 2026-06-15 02:38 pgsql: Trim regression test expected output for xml Michael Paquier <michael@paquier.xyz> 2026-06-15 02:38 pgsql: Trim regression test expected output for xml Michael Paquier <michael@paquier.xyz>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox