Maintain ThisTimeLineID correctly in checkpointer

checkpointer needs to reset ThisTimeLineID after
a restartpoint to allow installing/recycling new
WAL files. If recovery has already ended this
would leave ThisTimeLineID set incorrectly and
so we must reset it otherwise later checkpoints
do not have the correct timeline.

Bug report by Heikki Linnakangas.
Further investigation by Heikki and myself.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/75a192638f93636a144a02461baae90b9fe98fd7

Modified Files
--------------
src/backend/access/transam/xlog.c | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppgsql-committers @
categoriespostgresql
postedMay 21, '13 at 8:24p
activeMay 21, '13 at 8:24p
posts1
users1
websitepostgresql.org...
irc#postgresql

1 user in discussion

Simon Riggs: 1 post

People

Translate

site design / logo © 2021 Grokbase