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

Commit410a0d6

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 parentd2ee542 commit410a0d6

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
@@ -2497,11 +2497,11 @@ PrepareRedoAdd(char *buf, XLogRecPtr start_lsn,
24972497
/*
24982498
* In the event of a crash while a checkpoint was running, it may be
24992499
* possible that some two-phase data found its way to disk while its
2500-
* corresponding record needs to be replayed in the follow-up recovery.
2501-
*Asthe 2PC data was on disk, it has already been restored at the
2502-
*beginningof recovery with restoreTwoPhaseData(), so skip this record
2503-
*to avoidduplicates in TwoPhaseState. If a consistent state has been
2504-
*reached,the record is added to TwoPhaseState and it should have no
2500+
* corresponding record needs to be replayed in the follow-up recovery. As
2501+
* the 2PC data was on disk, it has already been restored at the beginning
2502+
* of recovery with restoreTwoPhaseData(), so skip this record to avoid
2503+
* duplicates in TwoPhaseState. If a consistent state has been reached,
2504+
* the record is added to TwoPhaseState and it should have no
25052505
* corresponding file in pg_twophase.
25062506
*/
25072507
if (!XLogRecPtrIsInvalid(start_lsn))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp