Update obsolete comment that still referred to CheckpointLock
authorHeikki Linnakangas
Fri, 30 Jul 2021 09:52:44 +0000 (12:52 +0300)
committerHeikki Linnakangas
Fri, 30 Jul 2021 09:52:44 +0000 (12:52 +0300)
CheckpointLock was removed in commit d18e75664a, and commit ce197e91d0
updated a leftover comment in CreateCheckPoint, but there was another
copy of it in CreateRestartPoint still.

src/backend/access/transam/xlog.c

index e717930ecf23421d91432870e8671c4ff84482f9..5c2635a8df1b141d23fbe4cb7913ed9312bc9d20 100644 (file)
@@ -9702,7 +9702,7 @@ CreateRestartPoint(int flags)
    if (EnableHotStandby)
        TruncateSUBTRANS(GetOldestTransactionIdConsideredRunning());
 
-   /* Real work is done, but log and update before releasing lock. */
+   /* Real work is done; log and update stats. */
    LogCheckpointEnd(true);
 
    /* Reset the process title */