aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogutils.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:02:49 -0300
commit4140619df909ed90f485c0e96a5c4b901e544976 (patch)
treed52d7d1c5aa34aceffccbc21c899a1e89673bfce /src/backend/access/transam/xlogutils.c
parent21ef195340bf37cb55383f6fdfe33609f5003a27 (diff)
downloadpostgresql-4140619df909ed90f485c0e96a5c4b901e544976.tar.gz
postgresql-4140619df909ed90f485c0e96a5c4b901e544976.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/transam/xlogutils.c')
-rw-r--r--src/backend/access/transam/xlogutils.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/access/transam/xlogutils.c b/src/backend/access/transam/xlogutils.c
index 9073a850e8b..c0386d96889 100644
--- a/src/backend/access/transam/xlogutils.c
+++ b/src/backend/access/transam/xlogutils.c
@@ -422,9 +422,10 @@ XLogReadBufferForRedoExtended(XLogReaderState *record,
* to imply that the page should be dropped or truncated later.
*
* NB: A redo function should normally not call this directly. To get a page
- * to modify, use XLogReplayBuffer instead. It is important that all pages
- * modified by a WAL record are registered in the WAL records, or they will be
- * invisible to tools that that need to know which pages are modified.
+ * to modify, use XLogReadBufferForRedoExtended instead. It is important that
+ * all pages modified by a WAL record are registered in the WAL records, or
+ * they will be invisible to tools that that need to know which pages are
+ * modified.
*/
Buffer
XLogReadBufferExtended(RelFileNode rnode, ForkNumber forknum,