aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/heap/heapam.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2016-05-12 16:02:49 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2016-05-12 16:07:07 -0300
commitcca2a278609e9ed9bedc4796ae1427fbfb88a2fc (patch)
tree84a043965571bda9cb79e1d6765c34c8f5997f85 /src/backend/access/heap/heapam.c
parentbdb9e3dc1da95bdfc28deb43914ff5f082bd9043 (diff)
downloadpostgresql-cca2a278609e9ed9bedc4796ae1427fbfb88a2fc.tar.gz
postgresql-cca2a278609e9ed9bedc4796ae1427fbfb88a2fc.zip
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 2c03216d831160 was pushed.
Diffstat (limited to 'src/backend/access/heap/heapam.c')
-rw-r--r--src/backend/access/heap/heapam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c
index 5e4ee30071f..2eb04d661dc 100644
--- a/src/backend/access/heap/heapam.c
+++ b/src/backend/access/heap/heapam.c
@@ -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);