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

Commitb3ca4f0

Browse files
committed
Fix indentation in twophase.c
This has been missed incb0cca1, noticed before buildfarm member koelhas been able to complain while poking at a different patch. Like theother commit, backpatch all the way down to limit the odds of mergeconflicts.Backpatch-through: 11
1 parentdb59108 commitb3ca4f0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎src/backend/access/transam/twophase.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2446,11 +2446,11 @@ PrepareRedoAdd(char *buf, XLogRecPtr start_lsn,
24462446
/*
24472447
* In the event of a crash while a checkpoint was running, it may be
24482448
* possible that some two-phase data found its way to disk while its
2449-
* corresponding record needs to be replayed in the follow-up recovery.
2450-
*Asthe 2PC data was on disk, it has already been restored at the
2451-
*beginningof recovery with restoreTwoPhaseData(), so skip this record
2452-
*to avoidduplicates in TwoPhaseState. If a consistent state has been
2453-
*reached,the record is added to TwoPhaseState and it should have no
2449+
* corresponding record needs to be replayed in the follow-up recovery. As
2450+
* the 2PC data was on disk, it has already been restored at the beginning
2451+
* of recovery with restoreTwoPhaseData(), so skip this record to avoid
2452+
* duplicates in TwoPhaseState. If a consistent state has been reached,
2453+
* the record is added to TwoPhaseState and it should have no
24542454
* corresponding file in pg_twophase.
24552455
*/
24562456
if (!XLogRecPtrIsInvalid(start_lsn))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp