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 pg_rewind, for re-synchronizing a master server after failba
Date: Mon, 23 Mar 2015 17:56:58 +0000
Message-ID: <E1Ya6aw-0005qo-4n@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Add pg_rewind, for re-synchronizing a master server after failback.

Earlier versions of this tool were available (and still are) on github.

Thanks to Michael Paquier, Alvaro Herrera, Peter Eisentraut, Amit Kapila,
and Satoshi Nagayasu for review.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/61081e75c6741024f7717ade0450090590e96c85

Modified Files
--------------
doc/src/sgml/high-availability.sgml   |    4 +-
doc/src/sgml/ref/allfiles.sgml        |    1 +
doc/src/sgml/ref/pg_rewind.sgml       |  237 ++++++++++++
doc/src/sgml/reference.sgml           |    1 +
src/bin/Makefile                      |    1 +
src/bin/pg_rewind/.gitignore          |    7 +
src/bin/pg_rewind/Makefile            |   52 +++
src/bin/pg_rewind/RewindTest.pm       |  271 ++++++++++++++
src/bin/pg_rewind/copy_fetch.c        |  261 +++++++++++++
src/bin/pg_rewind/datapagemap.c       |  126 +++++++
src/bin/pg_rewind/datapagemap.h       |   32 ++
src/bin/pg_rewind/fetch.c             |   61 +++
src/bin/pg_rewind/fetch.h             |   46 +++
src/bin/pg_rewind/file_ops.c          |  305 +++++++++++++++
src/bin/pg_rewind/file_ops.h          |   24 ++
src/bin/pg_rewind/filemap.c           |  667 +++++++++++++++++++++++++++++++++
src/bin/pg_rewind/filemap.h           |  108 ++++++
src/bin/pg_rewind/libpq_fetch.c       |  464 +++++++++++++++++++++++
src/bin/pg_rewind/logging.c           |  140 +++++++
src/bin/pg_rewind/logging.h           |   37 ++
src/bin/pg_rewind/nls.mk              |    9 +
src/bin/pg_rewind/parsexlog.c         |  374 ++++++++++++++++++
src/bin/pg_rewind/pg_rewind.c         |  550 +++++++++++++++++++++++++++
src/bin/pg_rewind/pg_rewind.h         |   44 +++
src/bin/pg_rewind/t/001_basic.pl      |   80 ++++
src/bin/pg_rewind/t/002_databases.pl  |   41 ++
src/bin/pg_rewind/t/003_extrafiles.pl |   61 +++
src/bin/pg_rewind/timeline.c          |  131 +++++++
src/tools/msvc/Mkvcbuild.pm           |    8 +-
29 files changed, 4141 insertions(+), 2 deletions(-)


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


Message-ID: <E1Ya6aw-0005qo-4n@gemulon.postgresql.org>
Permalink:  ../E1Ya6aw-0005qo-4n@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1Ya6aw-0005qo-4n@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 pg_rewind, for re-synchronizing a master server after failba
  In-Reply-To: <E1Ya6aw-0005qo-4n@gemulon.postgresql.org>
  References: <E1Ya6aw-0005qo-4n@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