1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

Fix bogus comments

Some comments mentioned XLogReplayBuffer, but there's no such function:
that was an interim name for a function that got renamed to
XLogReadBufferForRedo, before commit 2c03216d83 was pushed.
This commit is contained in:
Alvaro Herrera
2016-05-12 16:02:49 -03:00
parent bdb9e3dc1d
commit cca2a27860
2 changed files with 6 additions and 5 deletions

View File

@ -7898,8 +7898,8 @@ heap_xlog_visible(XLogReaderState *record)
PageInit(vmpage, BLCKSZ, 0);
/*
* XLogReplayBufferExtended locked the buffer. But visibilitymap_set
* will handle locking itself.
* XLogReadBufferForRedoExtended locked the buffer. But
* visibilitymap_set will handle locking itself.
*/
LockBuffer(vmbuffer, BUFFER_LOCK_UNLOCK);