pgsql: Fix the tracking of min recovery point timeline.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix the tracking of min recovery point timeline.
Date: 2012-12-10 16:30:59
Message-ID: E1Ti6Fv-0002LP-6f@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6be799664aa89a473c15af7a015f4c2b2794da2e

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

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2012-12-10 16:31:49 pgsql: Update minimum recovery point on truncation.
Previous Message Tom Lane 2012-12-09 05:08:55 pgsql: Fix assorted bugs in privileges-for-types patch.