Commit 6b240363 authored by Heikki Linnakangas's avatar Heikki Linnakangas

Fix obsolete comments that I neglected to update in a previous patch.

Fujii Masao
parent 2681c51e
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * 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) ...@@ -2609,8 +2609,8 @@ XLogFileOpen(uint32 log, uint32 seg)
/* /*
* Open a logfile segment for reading (during recovery). * Open a logfile segment for reading (during recovery).
* *
* If fromArchive is true, the segment is retrieved from archive, otherwise * If source = XLOG_FROM_ARCHIVE, the segment is retrieved from archive.
* it's read from pg_xlog. * If source = XLOG_FROM_PG_XLOG, it's read from pg_xlog.
*/ */
static int static int
XLogFileRead(uint32 log, uint32 seg, int emode, TimeLineID tli, XLogFileRead(uint32 log, uint32 seg, int emode, TimeLineID tli,
...@@ -2673,8 +2673,6 @@ 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). * Open a logfile segment for reading (during recovery).
* *
* This version searches for the segment with any TLI listed in expectedTLIs. * 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 static int
XLogFileReadAnyTLI(uint32 log, uint32 seg, int emode, int sources) XLogFileReadAnyTLI(uint32 log, uint32 seg, int emode, int sources)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment