Обсуждение: pgsql: Maintain ThisTimeLineID correctly in checkpointer

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

pgsql: Maintain ThisTimeLineID correctly in checkpointer

От
Simon Riggs
Дата:
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(-)