Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit24f12d9

Browse files
committed
[PBCKP-402,PBCKP-354] refix "missing contrecord" detection.
Error message is translated according to current locale. So we can'tcompare it as a string. But `abortedRecPtr` exists exactly for this case,so we can rely on it.
1 parent9391a1b commit24f12d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/parsexlog.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1446,7 +1446,7 @@ XLogThreadWorker(void *arg)
14461446
* TODO: probably we should abort reading logs at this moment.
14471447
* But we continue as we did with bug present in Pg < 15.
14481448
*/
1449-
strncmp(errormsg,"missing contrecord",18)==0))
1449+
!XLogRecPtrIsInvalid(xlogreader->abortedRecPtr)))
14501450
{
14511451
if (SwitchThreadToNextWal(xlogreader,thread_arg))
14521452
continue;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp