aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2010-06-02 09:28:44 +0000
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2010-06-02 09:28:44 +0000
commit6b2403636501070324b6462e8ba73d895933c0ce (patch)
tree6c403b5beca205800da59a5ea1848d7b94fc712f /src/backend/access/transam/xlog.c
parent2681c51ecad633e997d1a978ecac221ebd4406dc (diff)
downloadpostgresql-6b2403636501070324b6462e8ba73d895933c0ce.tar.gz
postgresql-6b2403636501070324b6462e8ba73d895933c0ce.zip
Fix obsolete comments that I neglected to update in a previous patch.
Fujii Masao
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index fde551fecf1..0a14c522e98 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.414 2010/05/27 00:38:39 heikki Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.415 2010/06/02 09:28:44 heikki Exp $
*
*-------------------------------------------------------------------------
*/
@@ -2609,8 +2609,8 @@ XLogFileOpen(uint32 log, uint32 seg)
/*
* Open a logfile segment for reading (during recovery).
*
- * If fromArchive is true, the segment is retrieved from archive, otherwise
- * it's read from pg_xlog.
+ * If source = XLOG_FROM_ARCHIVE, the segment is retrieved from archive.
+ * If source = XLOG_FROM_PG_XLOG, it's read from pg_xlog.
*/
static int
XLogFileRead(uint32 log, uint32 seg, int emode, TimeLineID tli,
@@ -2673,8 +2673,6 @@ XLogFileRead(uint32 log, uint32 seg, int emode, TimeLineID tli,
* Open a logfile segment for reading (during recovery).
*
* This version searches for the segment with any TLI listed in expectedTLIs.
- * If not in StandbyMode and fromArchive is true, the segment is also
- * searched in pg_xlog if not found in archive.
*/
static int
XLogFileReadAnyTLI(uint32 log, uint32 seg, int emode, int sources)