pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add archive_mode='always' option.
Date: Fri, 15 May 2015 15:55:35 +0000
Message-ID: <E1YtHxX-0007AC-Ri@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Add archive_mode='always' option.

In 'always' mode, the standby independently archives all files it receives
from the primary.

Original patch by Fujii Masao, docs and review by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ffd37740ee6fcd434416ec0c5461f7040e0a11de

Modified Files
--------------
doc/src/sgml/config.sgml                      |   13 +++++++--
doc/src/sgml/high-availability.sgml           |   39 +++++++++++++++++++++++++
src/backend/access/transam/xlog.c             |   22 ++++++++++++--
src/backend/access/transam/xlogarchive.c      |    5 +++-
src/backend/postmaster/postmaster.c           |   37 +++++++++++++++++------
src/backend/replication/walreceiver.c         |   10 +++++--
src/backend/utils/misc/guc.c                  |   21 ++++++-------
src/backend/utils/misc/postgresql.conf.sample |    2 +-
src/include/access/xlog.h                     |   13 +++++++--
9 files changed, 133 insertions(+), 29 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (5+ messages)  latest in thread

Message-ID: <E1YtHxX-0007AC-Ri@gemulon.postgresql.org>
Permalink:  ../E1YtHxX-0007AC-Ri@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1YtHxX-0007AC-Ri@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi
  Subject: Re: pgsql: Add archive_mode='always' option.
  In-Reply-To: <E1YtHxX-0007AC-Ri@gemulon.postgresql.org>
  References: <E1YtHxX-0007AC-Ri@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox