Skip to content

Commit 887fb82

Browse files
committed
Merge branch 'master' into REL_2_5
2 parents be949fd + 15a5c5d commit 887fb82

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ For detailed release plans check [Milestones](https://github.com/postgrespro/pg_
6666

6767
## Installation and Setup
6868
### Windows Installation
69-
Installers are available in release **assets**. [Latests](https://github.com/postgrespro/pg_probackup/releases/2.4.15).
69+
Installers are available in release **assets**. [Latests](https://github.com/postgrespro/pg_probackup/releases/latest).
7070

7171
### Linux Installation
7272
#### pg_probackup for vanilla PostgreSQL

src/parsexlog.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1439,7 +1439,14 @@ XLogThreadWorker(void *arg)
14391439
* Usually SimpleXLogPageRead() does it by itself. But here we need
14401440
* to do it manually to support threads.
14411441
*/
1442-
if (reader_data->need_switch && errormsg == NULL)
1442+
if (reader_data->need_switch && (
1443+
errormsg == NULL ||
1444+
/*
1445+
* Pg15 now informs if "contrecord" is missing.
1446+
* TODO: probably we should abort reading logs at this moment.
1447+
* But we continue as we did with bug present in Pg < 15.
1448+
*/
1449+
strncmp(errormsg, "missing contrecord", 18) == 0))
14431450
{
14441451
if (SwitchThreadToNextWal(xlogreader, thread_arg))
14451452
continue;

0 commit comments

Comments
 (0)