pgsql: pg_waldump: Relax LSN comparison check in TAP test
В списке pgsql-committers по дате отправления:
| От | Michael Paquier |
|---|---|
| Тема | pgsql: pg_waldump: Relax LSN comparison check in TAP test |
| Дата | |
| Msg-id | E1vfuuD-000NaK-2w@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
pg_waldump: Relax LSN comparison check in TAP test The test 002_save_fullpage.pl, checking --save-fullpage fails with wal_consistency_checking enabled, due to the fact that the block saved in the file has the same LSN as the LSN used in the file name. The test required that the block LSN is stritly lower than file LSN. This commit relaxes the check a bit, by allowing the LSNs to match. While on it, the test name is reworded to include some information about the file and block LSNs, which is useful for debugging. Author: Andrey Borodin <x4mmm@yandex-team.ru> Discussion: https://postgr.es/m/4226AED7-E38F-419B-AAED-9BC853FB55DE@yandex-team.ru Backpatch-through: 16 Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2170e52193c6f02ddb915f833f269714c9c40eae Modified Files -------------- src/bin/pg_waldump/t/002_save_fullpage.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера