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

Commit763d262

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 parent4427491 commit763d262

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
@@ -2448,11 +2448,11 @@ PrepareRedoAdd(char *buf, XLogRecPtr start_lsn,
24482448
/*
24492449
* In the event of a crash while a checkpoint was running, it may be
24502450
* possible that some two-phase data found its way to disk while its
2451-
* corresponding record needs to be replayed in the follow-up recovery.
2452-
*Asthe 2PC data was on disk, it has already been restored at the
2453-
*beginningof recovery with restoreTwoPhaseData(), so skip this record
2454-
*to avoidduplicates in TwoPhaseState. If a consistent state has been
2455-
*reached,the record is added to TwoPhaseState and it should have no
2451+
* corresponding record needs to be replayed in the follow-up recovery. As
2452+
* the 2PC data was on disk, it has already been restored at the beginning
2453+
* of recovery with restoreTwoPhaseData(), so skip this record to avoid
2454+
* duplicates in TwoPhaseState. If a consistent state has been reached,
2455+
* the record is added to TwoPhaseState and it should have no
24562456
* corresponding file in pg_twophase.
24572457
*/
24582458
if (!XLogRecPtrIsInvalid(start_lsn))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp