diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-06-03 09:25:12 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-06-03 09:25:12 +0300 |
commit | e1e2bb34f1237cbec396bcaa795f0fa955af0e72 (patch) | |
tree | 5c03085bba3c1df19a86da77c4d7fc0dccc9b056 /src/backend/utils/adt/windowfuncs.c | |
parent | 2c92edad48796119c83d7dbe6c33425d1924626d (diff) | |
download | postgresql-e1e2bb34f1237cbec396bcaa795f0fa955af0e72.tar.gz postgresql-e1e2bb34f1237cbec396bcaa795f0fa955af0e72.zip |
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/backend/utils/adt/windowfuncs.c')
0 files changed, 0 insertions, 0 deletions