mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-03-17 21:18:00 +02:00
bugfix: multi-timeline pagemap, another take
This commit is contained in:
parent
d3ed73ba31
commit
2e417720bd
@ -316,13 +316,13 @@ extractPageMap(const char *archivedir, uint32 wal_seg_size,
|
||||
wal_interval->end_lsn = prev_switchpoint;
|
||||
}
|
||||
|
||||
prev_switchpoint = tmp_tlinfo->switchpoint;
|
||||
tmp_tlinfo = tmp_tlinfo->parent_link;
|
||||
|
||||
parray_append(interval_list, wal_interval);
|
||||
|
||||
if (tmp_tlinfo->tli == start_tli)
|
||||
break;
|
||||
|
||||
prev_switchpoint = tmp_tlinfo->switchpoint;
|
||||
tmp_tlinfo = tmp_tlinfo->parent_link;
|
||||
}
|
||||
|
||||
for (i = parray_num(interval_list) - 1; i >= 0; i--)
|
||||
|
Loading…
x
Reference in New Issue
Block a user