1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-06 19:59:18 +03:00

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.
This commit is contained in:
Heikki Linnakangas 2021-07-30 12:52:44 +03:00
parent 1ec7fca859
commit df9f0c716c

View File

@ -9702,7 +9702,7 @@ CreateRestartPoint(int flags)
if (EnableHotStandby) if (EnableHotStandby)
TruncateSUBTRANS(GetOldestTransactionIdConsideredRunning()); TruncateSUBTRANS(GetOldestTransactionIdConsideredRunning());
/* Real work is done, but log and update before releasing lock. */ /* Real work is done; log and update stats. */
LogCheckpointEnd(true); LogCheckpointEnd(true);
/* Reset the process title */ /* Reset the process title */