From: Heikki Linnakangas Date: Fri, 30 Jul 2021 09:52:49 +0000 (+0300) Subject: Update obsolete comment that still referred to CheckpointLock X-Git-Tag: REL_14_BETA3~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=99da905d5c4335d2df80f5cf05dad046a10d30fb;p=thirdparty%2Fpostgresql.git Update obsolete comment that still referred to CheckpointLock 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. --- diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index d73a55ae175..ca8fd7a9939 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -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 */