pgsql: Fix pg_bsaebackup checksum tests

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix pg_bsaebackup checksum tests
Date: 2018-04-04 09:38:20
Message-ID: E1f3es0-0005CH-Rn@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix pg_bsaebackup checksum tests

Hopefully fix the fact that these checks are unstable, by introducing
the corruption in a separate table from pg_class, and also explicitly
disable autovacuum on those tables. Also make sure PostgreSQL is
stopped while the corruption is introduced to avoid possible caching
effects.

Author: Michael Banck

Branch
------
master

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

Modified Files
--------------
src/bin/pg_basebackup/t/010_pg_basebackup.pl | 35 +++++++++++++++++++---------
1 file changed, 24 insertions(+), 11 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2018-04-04 09:38:35 Re: pgsql: Validate page level checksums in base backups
Previous Message Heikki Linnakangas 2018-04-04 09:23:16 pgsql: Use ARMv8 CRC instructions where available.