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.
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 */