| From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Maintain ThisTimeLineID correctly in checkpointer |
| Date: | 2013-05-21 20:24:17 |
| Message-ID: | E1Uet6X-0007RQ-LW@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Simon Riggs | 2013-05-21 20:30:06 | pgsql: After fast promotion use CHECKPOINT_FORCE |
| Previous Message | Bruce Momjian | 2013-05-21 12:06:38 | pgsql: 9.3 release notes: fix SGML markup for DROP TABLE IF EXISTS |