aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2021-07-30 12:52:44 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2021-07-30 12:52:44 +0300
commitdf9f0c716cc75d9842b3de79159b9191c108987c (patch)
tree0afb4c769fdda59be09b74d4c89e4edb7c63cc43 /src
parent1ec7fca8592178281cd5cdada0f27a340fb813fc (diff)
downloadpostgresql-df9f0c716cc75d9842b3de79159b9191c108987c.tar.gz
postgresql-df9f0c716cc75d9842b3de79159b9191c108987c.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/transam/xlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index e717930ecf2..5c2635a8df1 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -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 */