Обсуждение: pgsql: Fix the tracking of min recovery point timeline.

Поиск
Список
Период
Сортировка

pgsql: Fix the tracking of min recovery point timeline.

От
Heikki Linnakangas
Дата:
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(-)