Thread: pgsql: Fix instability in 026_overwrite_contrecord.pl test.

pgsql: Fix instability in 026_overwrite_contrecord.pl test.

From
Tom Lane
Date:
Fix instability in 026_overwrite_contrecord.pl test.

We've seen intermittent failures in this test on slower buildfarm
machines, which I think can be explained by assuming that autovacuum
emitted some additional WAL.  Disable autovacuum to stabilize it.

In passing, use stringwise not numeric comparison to compare
WAL file names.  Doesn't matter at present, but they are
hex strings not decimal ...

Discussion: https://postgr.es/m/1372189.1636499287@sss.pgh.pa.us

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/18ce21768a802434cc1707ede52f3a1e3c037a0e

Modified Files
--------------
src/test/recovery/t/026_overwrite_contrecord.pl | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)