]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Update obsolete comment that still referred to CheckpointLock
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 30 Jul 2021 09:52:49 +0000 (12:52 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 30 Jul 2021 09:53:03 +0000 (12:53 +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 d73a55ae1759196836fe56ddbdba197a7a3a0e98..ca8fd7a9939540faecdc5c9d548cc1828567093c 100644 (file)
@@ -9664,7 +9664,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 */