Update out-of-date comment in StartupXLOG.
Commit 4b0d28de06b28e57c540fca458e4853854fbeaf8 should have updated this comment, but did not. Thomas Munro Discussion: http://postgr.es/m/CAEepm=0iJ8aqQcF9ij2KerAkuHF3SwrVTzjMdm1H4w++nfBf9A@mail.gmail.com
This commit is contained in:
parent
4815dfa10f
commit
b98a7cd58f
@ -6563,10 +6563,7 @@ StartupXLOG(void)
|
|||||||
StandbyMode = true;
|
StandbyMode = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/* Get the last valid checkpoint record. */
|
||||||
* Get the last valid checkpoint record. If the latest one according
|
|
||||||
* to pg_control is broken, try the next-to-last one.
|
|
||||||
*/
|
|
||||||
checkPointLoc = ControlFile->checkPoint;
|
checkPointLoc = ControlFile->checkPoint;
|
||||||
RedoStartLSN = ControlFile->checkPointCopy.redo;
|
RedoStartLSN = ControlFile->checkPointCopy.redo;
|
||||||
record = ReadCheckpointRecord(xlogreader, checkPointLoc, 1, true);
|
record = ReadCheckpointRecord(xlogreader, checkPointLoc, 1, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user