pgsql: Improve stability of explain regression test. - Mailing list pgsql-committers

From Fujii Masao
Subject pgsql: Improve stability of explain regression test.
Date
Msg-id E1jKP9x-0003zT-7s@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Improve stability of explain regression test.

The explain regression test runs EXPLAIN commands via the function
that filters unstable outputs. To produce more stable test output,
this commit improves the function so that it also filters out text-mode
Buffers lines. This is necessary because text-mode Buffers lines vary
depending the system state.

This improvement will get rid of the regression test failure that
the commit ed7a509571 caused on the buildfarm members prion and
dory because of the instability of Buffers lines.

Author: Fujii Masao
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/20200403025751.GB1759@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c0885c4c30698a1beef40a8df0edb253750d3b43

Modified Files
--------------
src/test/regress/expected/explain.out | 8 ++++----
src/test/regress/sql/explain.sql      | 5 +++--
2 files changed, 7 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Add a glossary to the documentation
Next
From: Fujii Masao
Date:
Subject: Re: pgsql: Include information on buffer usage during planning phase,in EX