pgsql: Force archive_status of .done for xlogs created by dearchival/re - Mailing list pgsql-committers

From Simon Riggs
Subject pgsql: Force archive_status of .done for xlogs created by dearchival/re
Date
Msg-id E1SzFEg-0002d1-Hm@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Force archive_status of .done for xlogs created by dearchival/replication.
This prevents spurious attempts to archive xlog files after promotion of
standby, a bug introduced by cascading replication patch in 9.2.

Fujii Masao, simplified and extended to cover streaming by Simon Riggs

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6f4b8a4f4f7a2d683ff79ab59d3693714b965e3d

Modified Files
--------------
src/backend/access/transam/xlog.c     |   59 +++++++++++++++++++++++++++++++++
src/backend/replication/walreceiver.c |   16 ++++++++-
src/include/access/xlog_internal.h    |    5 +++
3 files changed, 78 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Fix typo in comment
Next
From: Robert Haas
Date:
Subject: pgsql: Make psql -1 < file behave as expected.