Skip to content

Commit 20cf0e2

Browse files
michaelpqpull[bot]
authored andcommitted
Fix indentation in twophase.c
This has been missed in cb0cca1, noticed before buildfarm member koel has been able to complain while poking at a different patch. Like the other commit, backpatch all the way down to limit the odds of merge conflicts. Backpatch-through: 11
1 parent 2d305f2 commit 20cf0e2

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
@@ -2481,11 +2481,11 @@ PrepareRedoAdd(char *buf, XLogRecPtr start_lsn,
24812481
/*
24822482
* In the event of a crash while a checkpoint was running, it may be
24832483
* possible that some two-phase data found its way to disk while its
2484-
* corresponding record needs to be replayed in the follow-up recovery.
2485-
* As the 2PC data was on disk, it has already been restored at the
2486-
* beginning of recovery with restoreTwoPhaseData(), so skip this record
2487-
* to avoid duplicates in TwoPhaseState. If a consistent state has been
2488-
* reached, the record is added to TwoPhaseState and it should have no
2484+
* corresponding record needs to be replayed in the follow-up recovery. As
2485+
* the 2PC data was on disk, it has already been restored at the beginning
2486+
* of recovery with restoreTwoPhaseData(), so skip this record to avoid
2487+
* duplicates in TwoPhaseState. If a consistent state has been reached,
2488+
* the record is added to TwoPhaseState and it should have no
24892489
* corresponding file in pg_twophase.
24902490
*/
24912491
if (!XLogRecPtrIsInvalid(start_lsn))

0 commit comments

Comments
 (0)