postgres.git / summary / log / commit / refs

commit    b3ca4f0a5cdb1f1d1191e71e7d65f62ac1fe05ff
Author:   Michael Paquier <michael@paquier.xyz>
Date:     Tue Jul 18 05:04:51 2023 +0000
First released in: 17.0, 11.21, 12.16, 13.12, 14.9, 15.4, 16.0

    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


src/backend/access/transam/twophase.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/backend/access/transam/twophase.c b/src/backend/access/transam/twophase.c index 8430e62e298..d375b1012be 100644 --- a/src/backend/access/transam/twophase.c +++ b/src/backend/access/transam/twophase.c @@ -2446,11 +2446,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)) [parent: db59108a2b67]