]> granicus.if.org Git - postgresql/commit
Fix pg_bsaebackup checksum tests
authorMagnus Hagander <magnus@hagander.net>
Wed, 4 Apr 2018 09:35:48 +0000 (11:35 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 4 Apr 2018 09:37:55 +0000 (11:37 +0200)
commitee9e1455310ec57774ca67158571bec5d3288cdf
tree65d5a644196ab3ef7c9783110e0c65f03d26bbcc
parentf044d71e331d77a0039cec0a11859b5a3c72bc95
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
src/bin/pg_basebackup/t/010_pg_basebackup.pl