From 99da905d5c4335d2df80f5cf05dad046a10d30fb Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Fri, 30 Jul 2021 12:52:49 +0300 Subject: [PATCH] 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. --- src/backend/access/transam/xlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index d73a55ae17..ca8fd7a993 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 */