Fix obsolete comment in xlogutils.c.
authorPeter Geoghegan <[email protected]>
Fri, 14 Aug 2020 18:09:08 +0000 (11:09 -0700)
committerPeter Geoghegan <[email protected]>
Fri, 14 Aug 2020 18:09:08 +0000 (11:09 -0700)
Oversight in commit 2c03216d831.

src/backend/access/transam/xlogutils.c

index b2ca0cd4cf39da1c9db9c39794a3740b9a359877..7e915bcadf1049596c42193c3b87b759f09f14a7 100644 (file)
@@ -260,10 +260,9 @@ XLogCheckInvalidPages(void)
  * determines what needs to be done to redo the changes to it.  If the WAL
  * record includes a full-page image of the page, it is restored.
  *
- * 'lsn' is the LSN of the record being replayed.  It is compared with the
- * page's LSN to determine if the record has already been replayed.
- * 'block_id' is the ID number the block was registered with, when the WAL
- * record was created.
+ * 'record.EndRecPtr' is compared to the page's LSN to determine if the record
+ * has already been replayed.  'block_id' is the ID number the block was
+ * registered with, when the WAL record was created.
  *
  * Returns one of the following:
  *