Skip to content

Commit 057152b

Browse files
committed
Fix comment; checkpointer, not bgwriter, performs checkpoints since 9.2.
Amit Langote
1 parent 7b1fab3 commit 057152b

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const struct config_enum_entry sync_method_options[] = {
128128

129129
/*
130130
* Statistics for current checkpoint are collected in this global struct.
131-
* Because only the background writer or a stand-alone backend can perform
131+
* Because only the checkpointer or a stand-alone backend can perform
132132
* checkpoints, this will be unused in normal backends.
133133
*/
134134
CheckpointStatsData CheckpointStats;

0 commit comments

Comments
 (0)