1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-24 10:47:04 +03:00

Fix obsolete comment in xlogutils.c.

Oversight in commit 2c03216d831.
This commit is contained in:
Peter Geoghegan 2020-08-14 11:09:08 -07:00
parent 0038f94387
commit 914140e85a

View File

@ -260,10 +260,9 @@ XLogCheckInvalidPages(void)
* determines what needs to be done to redo the changes to it. If the WAL * 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. * 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 * 'record.EndRecPtr' is compared to the page's LSN to determine if the record
* page's LSN to determine if the record has already been replayed. * has already been replayed. 'block_id' is the ID number the block was
* 'block_id' is the ID number the block was registered with, when the WAL * registered with, when the WAL record was created.
* record was created.
* *
* Returns one of the following: * Returns one of the following:
* *