Skip to content

Commit 672efc0

Browse files
committed
Update obsolete comment. Noted by Josh Tolley.
1 parent 7b81782 commit 672efc0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/backend/access/transam/xlogutils.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
1212
* Portions Copyright (c) 1994, Regents of the University of California
1313
*
14-
* $PostgreSQL: pgsql/src/backend/access/transam/xlogutils.c,v 1.70 2010/02/09 21:43:29 tgl Exp $
14+
* $PostgreSQL: pgsql/src/backend/access/transam/xlogutils.c,v 1.71 2010/07/08 16:08:30 tgl Exp $
1515
*
1616
*-------------------------------------------------------------------------
1717
*/
@@ -227,11 +227,9 @@ XLogCheckInvalidPages(void)
227227
* LockBuffer(buffer, BUFFER_LOCK_EXCLUSIVE), for reading from the main
228228
* fork.
229229
*
230-
* (Getting the lock is not really necessary, since we expect that this is
231-
* only used during single-process XLOG replay, but some subroutines such
232-
* as MarkBufferDirty will complain if we don't. And hopefully we'll get
233-
* hot standby support in the future, where there will be backends running
234-
* read-only queries during XLOG replay.)
230+
* (Getting the buffer lock is not really necessary during single-process
231+
* crash recovery, but some subroutines such as MarkBufferDirty will complain
232+
* if we don't have the lock. In hot standby mode it's definitely necessary.)
235233
*
236234
* The returned buffer is exclusively-locked.
237235
*

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