aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2018-02-07 08:48:04 -0500
committerRobert Haas <rhaas@postgresql.org>2018-02-07 08:48:04 -0500
commitb98a7cd58f6189833e6ad6ac7e7ad5b6412409fd (patch)
treef791d3031b47ab31b9816d874a945acb19a500b2
parent4815dfa10f4db8835b7424da22a4011b53040606 (diff)
downloadpostgresql-b98a7cd58f6189833e6ad6ac7e7ad5b6412409fd.tar.gz
postgresql-b98a7cd58f6189833e6ad6ac7e7ad5b6412409fd.zip
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
-rw-r--r--src/backend/access/transam/xlog.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index e42b828edf0..18b7471597f 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -6563,10 +6563,7 @@ StartupXLOG(void)
StandbyMode = true;
}
- /*
- * Get the last valid checkpoint record. If the latest one according
- * to pg_control is broken, try the next-to-last one.
- */
+ /* Get the last valid checkpoint record. */
checkPointLoc = ControlFile->checkPoint;
RedoStartLSN = ControlFile->checkPointCopy.redo;
record = ReadCheckpointRecord(xlogreader, checkPointLoc, 1, true);