Fix leftover reference to background writer performing checkpoints.
authorRobert Haas <rhaas@postgresql.org>
Fri, 28 Oct 2016 13:07:36 +0000 (09:07 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 28 Oct 2016 13:09:00 +0000 (09:09 -0400)
This was changed in PostgreSQL 9.2, but somehow this comment never
got updated.

src/backend/access/transam/xlog.c

index c9bb46baa8fb5092717f7ada6cce751bdbaf0139..6b1f24ef1f645d57a476b0a6d564bfcfff13261c 100644 (file)
@@ -617,7 +617,7 @@ typedef struct XLogCtlData
         * During recovery, we keep a copy of the latest checkpoint record here.
         * lastCheckPointRecPtr points to start of checkpoint record and
         * lastCheckPointEndPtr points to end+1 of checkpoint record.  Used by the
-        * background writer when it wants to create a restartpoint.
+        * checkpointer when it wants to create a restartpoint.
         *
         * Protected by info_lck.
         */