Fix indentation in twophase.c
authorMichael Paquier <[email protected]>
Tue, 18 Jul 2023 05:04:54 +0000 (14:04 +0900)
committerMichael Paquier <[email protected]>
Tue, 18 Jul 2023 05:04:54 +0000 (14:04 +0900)
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

src/backend/access/transam/twophase.c

index 9e8c1f84156b3e2a44563a27d28470ae62a1642f..39c0afbee0f13fb5c8353d0542a65899a589f3f4 100644 (file)
@@ -2512,11 +2512,11 @@ PrepareRedoAdd(char *buf, XLogRecPtr start_lsn,
    /*
     * In the event of a crash while a checkpoint was running, it may be
     * possible that some two-phase data found its way to disk while its
-    * corresponding record needs to be replayed in the follow-up recovery.
-    * As the 2PC data was on disk, it has already been restored at the
-    * beginning of recovery with restoreTwoPhaseData(), so skip this record
-    * to avoid duplicates in TwoPhaseState.  If a consistent state has been
-    * reached, the record is added to TwoPhaseState and it should have no
+    * corresponding record needs to be replayed in the follow-up recovery. As
+    * the 2PC data was on disk, it has already been restored at the beginning
+    * of recovery with restoreTwoPhaseData(), so skip this record to avoid
+    * duplicates in TwoPhaseState.  If a consistent state has been reached,
+    * the record is added to TwoPhaseState and it should have no
     * corresponding file in pg_twophase.
     */
    if (!XLogRecPtrIsInvalid(start_lsn))