diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2021-07-30 12:52:49 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2021-07-30 12:53:03 +0300 |
commit | 99da905d5c4335d2df80f5cf05dad046a10d30fb (patch) | |
tree | a2bba4d1c05ed518b3339912d73d64aef8ad28a1 | |
parent | 1cf7fb376acd48710c1c2c5cd97d11cd82e71ae4 (diff) | |
download | postgresql-99da905d5c4335d2df80f5cf05dad046a10d30fb.tar.gz postgresql-99da905d5c4335d2df80f5cf05dad046a10d30fb.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.
-rw-r--r-- | src/backend/access/transam/xlog.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |