aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2010-03-15 18:49:17 +0000
committerSimon Riggs <simon@2ndQuadrant.com>2010-03-15 18:49:17 +0000
commit1a163a0c68fe974c12c807c14c3701baa15e124c (patch)
tree6ae9b2bc05256245cf44ca45858d36a500a0d643 /src
parent324505af01dc54add3ce9489829808efda2c161e (diff)
downloadpostgresql-1a163a0c68fe974c12c807c14c3701baa15e124c.tar.gz
postgresql-1a163a0c68fe974c12c807c14c3701baa15e124c.zip
Remove incorrect comment from GetWriteRecPtr(): the return value is always
correct, as described in comments at start of xlog.c
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/transam/xlog.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 55d1ea05490..84746562641 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.380 2010/03/10 02:04:48 itagaki Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.381 2010/03/15 18:49:17 sriggs Exp $
*
*-------------------------------------------------------------------------
*/
@@ -6483,9 +6483,6 @@ GetInsertRecPtr(void)
/*
* GetWriteRecPtr -- Returns the current write position.
- *
- * NOTE: The value returned lags behind the real write position. But,
- * an approximation is enough for the current usage of this function.
*/
XLogRecPtr
GetWriteRecPtr(void)