summaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.source
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-06-03 09:25:12 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-06-03 09:25:12 +0300
commite1e2bb34f1237cbec396bcaa795f0fa955af0e72 (patch)
tree5c03085bba3c1df19a86da77c4d7fc0dccc9b056 /src/tutorial/funcs.source
parent2c92edad48796119c83d7dbe6c33425d1924626d (diff)
Code review of recycling WAL segments in a restartpoint.
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.
Diffstat (limited to 'src/tutorial/funcs.source')
0 files changed, 0 insertions, 0 deletions