pgsql: Fix the tracking of min recovery point timeline. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix the tracking of min recovery point timeline.
Date
Msg-id E1Ti6Fv-0002LP-6f@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix assorted bugs in privileges-for-types patch.
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Update minimum recovery point on truncation.