|
7 | 7 | * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group |
8 | 8 | * Portions Copyright (c) 1994, Regents of the University of California |
9 | 9 | * |
10 | | - * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.414 2010/05/27 00:38:39 heikki Exp $ |
| 10 | + * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.415 2010/06/02 09:28:44 heikki Exp $ |
11 | 11 | * |
12 | 12 | *------------------------------------------------------------------------- |
13 | 13 | */ |
@@ -2609,8 +2609,8 @@ XLogFileOpen(uint32 log, uint32 seg) |
2609 | 2609 | /* |
2610 | 2610 | * Open a logfile segment for reading (during recovery). |
2611 | 2611 | * |
2612 | | - * IffromArchive is true, the segment is retrieved from archive, otherwise |
2613 | | - * it's read from pg_xlog. |
| 2612 | + * Ifsource = XLOG_FROM_ARCHIVE, the segment is retrieved from archive. |
| 2613 | + *If source = XLOG_FROM_PG_XLOG,it's read from pg_xlog. |
2614 | 2614 | */ |
2615 | 2615 | staticint |
2616 | 2616 | XLogFileRead(uint32log,uint32seg,intemode,TimeLineIDtli, |
@@ -2673,8 +2673,6 @@ XLogFileRead(uint32 log, uint32 seg, int emode, TimeLineID tli, |
2673 | 2673 | * Open a logfile segment for reading (during recovery). |
2674 | 2674 | * |
2675 | 2675 | * This version searches for the segment with any TLI listed in expectedTLIs. |
2676 | | - * If not in StandbyMode and fromArchive is true, the segment is also |
2677 | | - * searched in pg_xlog if not found in archive. |
2678 | 2676 | */ |
2679 | 2677 | staticint |
2680 | 2678 | XLogFileReadAnyTLI(uint32log,uint32seg,intemode,intsources) |
|