postgres.git / summary / log / commit / refs
commit 99da905d5c4335d2df80f5cf05dad046a10d30fb
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: Fri Jul 30 09:52:49 2021 +0000
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 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 */
[parent: 1cf7fb376acd]