From 686552825e09d0ad63a3a836d852e0d831d3d303 Mon Sep 17 00:00:00 2001 From: Grigory Smolkin Date: Fri, 1 May 2020 02:55:41 +0300 Subject: [PATCH] additional fix --- src/parsexlog.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/parsexlog.c b/src/parsexlog.c index 885907c0..3b68f45a 100644 --- a/src/parsexlog.c +++ b/src/parsexlog.c @@ -320,6 +320,9 @@ extractPageMap(const char *archivedir, uint32 wal_seg_size, tmp_tlinfo = tmp_tlinfo->parent_link; parray_append(interval_list, wal_interval); + + if (tmp_tlinfo->tli == start_tli) + break; } for (i = parray_num(interval_list) - 1; i >= 0; i--)