pgsql: Improve stability of explain regression test.

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve stability of explain regression test.
Date: 2020-04-03 16:27:09
Message-ID: E1jKP9x-0003zT-7s@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2020-04-03 16:28:10 Re: pgsql: Include information on buffer usage during planning phase, in EX
Previous Message Alvaro Herrera 2020-04-03 16:23:57 pgsql: Add a glossary to the documentation