From 914140e85a79c63853c86334afa2d7e6e930c11a Mon Sep 17 00:00:00 2001 From: Peter Geoghegan Date: Fri, 14 Aug 2020 11:09:08 -0700 Subject: [PATCH] Fix obsolete comment in xlogutils.c. Oversight in commit 2c03216d831. --- src/backend/access/transam/xlogutils.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/backend/access/transam/xlogutils.c b/src/backend/access/transam/xlogutils.c index b2ca0cd4cf3..7e915bcadf1 100644 --- a/src/backend/access/transam/xlogutils.c +++ b/src/backend/access/transam/xlogutils.c @@ -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: *