@@ -2479,7 +2479,7 @@ XLogFileInit(XLogSegNo logsegno, bool *use_existent, bool use_lock)
24792479/*
24802480 * Create a new XLOG file segment by copying a pre-existing one.
24812481 *
2482- *log, seg : identify segment to be created.
2482+ *destsegno : identify segment to be created.
24832483 *
24842484 * srcTLI, srclog, srcseg: identify segment to be copied (could be from
24852485 *a different timeline)
@@ -2582,8 +2582,8 @@ XLogFileCopy(XLogSegNo destsegno, TimeLineID srcTLI, XLogSegNo srcsegno)
25822582 * This is used both to install a newly-created segment (which has a temp
25832583 * filename while it's being created) and to recycle an old segment.
25842584 *
2585- * *log, *seg : identify segment to install as (or first possible target).
2586- * When find_free is TRUE,these are modified on return to indicate the
2585+ * *segno : identify segment to install as (or first possible target).
2586+ * When find_free is TRUE,this is modified on return to indicate the
25872587 * actual installation location or last segment searched.
25882588 *
25892589 * tmppath: initial name of file to install. It will be renamed into place.
@@ -3317,7 +3317,7 @@ PreallocXlogFiles(XLogRecPtr endptr)
33173317}
33183318
33193319/*
3320- * Get thelog/seg of the latest removed or recycled WAL segment.
3320+ * Get thesegno of the latest removed or recycled WAL segment.
33213321 * Returns 0/0 if no WAL segments have been removed since startup.
33223322 */
33233323void
@@ -3332,7 +3332,7 @@ XLogGetLastRemoved(XLogSegNo *segno)
33323332}
33333333
33343334/*
3335- * Update the last removedlog/seg pointer in shared memory, to reflect
3335+ * Update the last removedsegno pointer in shared memory, to reflect
33363336 * that the given XLOG file has been removed.
33373337 */
33383338static void
@@ -3352,7 +3352,7 @@ UpdateLastRemovedPtr(char *filename)
33523352}
33533353
33543354/*
3355- * Recycle or remove all log files older or equal to passedlog/seg#
3355+ * Recycle or remove all log files older or equal to passedsegno
33563356 *
33573357 * endptr is current (or recent) end of xlog; this is used to determine
33583358 * whether we want to recycle rather than delete no-longer-wanted log files.