• Heikki Linnakangas's avatar
    Code review of recycling WAL segments in a restartpoint. · e1e2bb34
    Heikki Linnakangas authored
    Seems cleaner to get the currently-replayed TLI in the same call to
    GetXLogReplayRecPtr that we get the WAL position. Make it more clear in the
    comment what the code does when recovery has already ended
    (RecoveryInProgress() will set ThisTimeLineID in that case). Finally, make
    resetting ThisTimeLineID afterwards more explicit.
    e1e2bb34
xlog.c 306 KB