Fix typos in comments
authorAlvaro Herrera
Tue, 15 Mar 2016 20:57:17 +0000 (17:57 -0300)
committerAlvaro Herrera
Tue, 15 Mar 2016 20:57:17 +0000 (17:57 -0300)
src/backend/access/transam/xlog.c

index 735f4073a38d81a4ac06cd2b29ad9839798591ad..9899cbb6c75b30affd442cac00cbf4127baf15e8 100644 (file)
@@ -3069,7 +3069,7 @@ XLogFileInit(XLogSegNo logsegno, bool *use_existent, bool use_lock)
  *
  * destsegno: identify segment to be created.
  *
- * srcTLI, srclog, srcseg: identify segment to be copied (could be from
+ * srcTLI, srcsegno: identify segment to be copied (could be from
  *     a different timeline)
  *
  * upto: how much of the source file to copy (the rest is filled with
@@ -6977,7 +6977,7 @@ StartupXLOG(void)
     * EndOfLogTLI is the TLI in the filename of the XLOG segment containing
     * the end-of-log. It could be different from the timeline that EndOfLog
     * nominally belongs to, if there was a timeline switch in that segment,
-    * and we were reading the old wAL from a segment belonging to a higher
+    * and we were reading the old WAL from a segment belonging to a higher
     * timeline.
     */
    EndOfLogTLI = xlogreader->readPageTLI;