diff options
author | Peter Geoghegan <pg@bowt.ie> | 2020-08-14 11:09:08 -0700 |
---|---|---|
committer | Peter Geoghegan <pg@bowt.ie> | 2020-08-14 11:09:08 -0700 |
commit | 914140e85a79c63853c86334afa2d7e6e930c11a (patch) | |
tree | 35bebdce0037c2ed5659ae05c865155c62da3a08 /src | |
parent | 0038f943878286ce84b2dfac10d64e00eab02edd (diff) | |
download | postgresql-914140e85a79c63853c86334afa2d7e6e930c11a.tar.gz postgresql-914140e85a79c63853c86334afa2d7e6e930c11a.zip |
Fix obsolete comment in xlogutils.c.
Oversight in commit 2c03216d831.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/transam/xlogutils.c | 7 |
1 files 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: * |