obsolete comments in xlog.c
От | Fujii Masao |
---|---|
Тема | obsolete comments in xlog.c |
Дата | |
Msg-id | AANLkTimsxfwI7txMle8vOCQj1KZCzUxMwNf_eltLB67e@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: obsolete comments in xlog.c
|
Список | pgsql-hackers |
Hi, I found some obsolete comments in xlog.c, which are related to recently-deleted variable "fromArchive". diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index c886571..65675b9 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -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 intXLogFileRead(uint32 log, uint32 seg, int emode, TimeLineIDtli, @@ -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 anyTLI 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 intXLogFileReadAnyTLI(uint32 log, uint32 seg, int emode, int sources) Regards, -- Fujii Masao NIPPON TELEGRAPH AND TELEPHONE CORPORATION NTT Open Source Software Center
В списке pgsql-hackers по дате отправления: