Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6b24036

Browse files
committed
Fix obsolete comments that I neglected to update in a previous patch.
Fujii Masao
1 parent2681c51 commit6b24036

File tree

1 file changed

+3
-5
lines changed
  • src/backend/access/transam

1 file changed

+3
-5
lines changed

‎src/backend/access/transam/xlog.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
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 $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -2609,8 +2609,8 @@ XLogFileOpen(uint32 log, uint32 seg)
26092609
/*
26102610
* Open a logfile segment for reading (during recovery).
26112611
*
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.
26142614
*/
26152615
staticint
26162616
XLogFileRead(uint32log,uint32seg,intemode,TimeLineIDtli,
@@ -2673,8 +2673,6 @@ XLogFileRead(uint32 log, uint32 seg, int emode, TimeLineID tli,
26732673
* Open a logfile segment for reading (during recovery).
26742674
*
26752675
* 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.
26782676
*/
26792677
staticint
26802678
XLogFileReadAnyTLI(uint32log,uint32seg,intemode,intsources)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp