pgsql: Force archive_status of .done for xlogs created by dearchival/re

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Force archive_status of .done for xlogs created by dearchival/re
Date: 2013-02-15 17:30:57
Message-ID: E1U6P7h-0004aN-AW@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Force archive_status of .done for xlogs created by dearchival/replication.

This is a forward-patch of commit 6f4b8a4f4f7a2d683ff79ab59d3693714b965e3d,
applied to 9.2 back in August. The plan was to do something else in master,
but it looks like it's not going to happen, so let's just apply the 9.2
solution to master as well.

Fujii Masao

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c2f79ba2691a4863db53003f25538f8806ebd2db
Author: Simon Riggs <simon(at)2ndQuadrant(dot)com>

Modified Files
--------------
src/backend/access/transam/xlogarchive.c | 59 ++++++++++++++++++++++++++++++
src/backend/replication/walreceiver.c | 20 ++++++++++-
src/include/access/xlog_internal.h | 1 +
3 files changed, 79 insertions(+), 1 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2013-02-15 17:40:19 pgsql: Better fix for "unarchived WAL files get deleted on crash recove
Previous Message Heikki Linnakangas 2013-02-15 16:00:10 pgsql: Don't delete unarchived WAL files during crash recovery.