Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit df9f0c7

Browse files
committed
Update obsolete comment that still referred to CheckpointLock
CheckpointLock was removed in commit d18e756, and commit ce197e9 updated a leftover comment in CreateCheckPoint, but there was another copy of it in CreateRestartPoint still.
1 parent 1ec7fca commit df9f0c7

File tree

1 file changed

+1
-1
lines changed
  • src/backend/access/transam

1 file changed

+1
-1
lines changed

src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9702,7 +9702,7 @@ CreateRestartPoint(int flags)
97029702
if (EnableHotStandby)
97039703
TruncateSUBTRANS(GetOldestTransactionIdConsideredRunning());
97049704

9705-
/* Real work is done, but log and update before releasing lock. */
9705+
/* Real work is done; log and update stats. */
97069706
LogCheckpointEnd(true);
97079707

97089708
/* Reset the process title */

0 commit comments

Comments
 (0)