|
11 | 11 | * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
|
12 | 12 | * Portions Copyright (c) 1994, Regents of the University of California
|
13 | 13 | *
|
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 $ |
15 | 15 | *
|
16 | 16 | *-------------------------------------------------------------------------
|
17 | 17 | */
|
@@ -227,11 +227,9 @@ XLogCheckInvalidPages(void)
|
227 | 227 | * LockBuffer(buffer, BUFFER_LOCK_EXCLUSIVE), for reading from the main
|
228 | 228 | * fork.
|
229 | 229 | *
|
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.) |
235 | 233 | *
|
236 | 234 | * The returned buffer is exclusively-locked.
|
237 | 235 | *
|
|