Improve stability of explain regression test.
authorFujii Masao
Fri, 3 Apr 2020 16:25:44 +0000 (01:25 +0900)
committerFujii Masao
Fri, 3 Apr 2020 16:26:39 +0000 (01:26 +0900)
commitc0885c4c30698a1beef40a8df0edb253750d3b43
treeeb5e9578dd5ea9f6a4a47f98033fe0632ef0e0ba
parent347d2b07fcc250680f75b5f89ba49d4805782c6b
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[email protected]
src/test/regress/expected/explain.out
src/test/regress/sql/explain.sql