Fix the tracking of min recovery point timeline.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 7 Dec 2012 14:29:39 +0000 (16:29 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 10 Dec 2012 14:04:26 +0000 (16:04 +0200)
commit6be799664aa89a473c15af7a015f4c2b2794da2e
tree068bd6aab7270d24e68056d281341f5c20c66438
parentb46c92112bf5afb2476d951b9817ebd8daa7b753
Fix the tracking of min recovery point timeline.

Forgot to update it at the right place. Also, consider checkpoint record
that switches to new timelne to be on the new timeline.

This fixes erroneous "requested timeline 2 does not contain minimum recovery
point" errors, pointed out by Amit Kapila while testing another patch.
src/backend/access/transam/xlog.c