Обсуждение: pgsql: Improve pg_amcheck's TAP test 003_check.pl.

Поиск
Список
Период
Сортировка

pgsql: Improve pg_amcheck's TAP test 003_check.pl.

От
Robert Haas
Дата:
Improve pg_amcheck's TAP test 003_check.pl.

Disable autovacuum, because we don't want it to run against
intentionally corrupted tables. Also, before corrupting the tables,
run pg_amcheck and ensure that it passes. Otherwise, if something
unexpected happens when we check the corrupted tables, it's not so
clear whether it would have also happened before we corrupted
them.

Mark Dilger

Discussion: http://postgr.es/m/AA5506CE-7D2A-42E4-A51D-358635E3722D@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/87d90ac61fa113ffc886efcdb391c522c1982991

Modified Files
--------------
src/bin/pg_amcheck/t/003_check.pl | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)