Skip to content

Commit 1a163a0

Browse files
Remove incorrect comment from GetWriteRecPtr(): the return value is always
correct, as described in comments at start of xlog.c
1 parent 324505a commit 1a163a0

File tree

1 file changed

+1
-4
lines changed
  • src/backend/access/transam

1 file changed

+1
-4
lines changed

src/backend/access/transam/xlog.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.380 2010/03/10 02:04:48 itagaki Exp $
10+
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.381 2010/03/15 18:49:17 sriggs Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -6483,9 +6483,6 @@ GetInsertRecPtr(void)
64836483

64846484
/*
64856485
* GetWriteRecPtr -- Returns the current write position.
6486-
*
6487-
* NOTE: The value returned lags behind the real write position. But,
6488-
* an approximation is enough for the current usage of this function.
64896486
*/
64906487
XLogRecPtr
64916488
GetWriteRecPtr(void)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy