pgsql: Allow pg_basebackup from standby node with safety checking.

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow pg_basebackup from standby node with safety checking.
Date: 2012-01-25 18:02:52
Message-ID: E1Rq7BM-0004iK-Ax@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Allow pg_basebackup from standby node with safety checking.
Base backup follows recommended procedure, plus goes to great
lengths to ensure that partial page writes are avoided.

Jun Ishizuka and Fujii Masao, with minor modifications

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8366c7803ec3d0591cf2d1226fea1fee947d56c3

Modified Files
--------------
doc/src/sgml/ref/pg_basebackup.sgml | 42 ++++
src/backend/access/transam/xlog.c | 404 ++++++++++++++++++++++++++++---
src/backend/postmaster/checkpointer.c | 42 +++-
src/backend/postmaster/postmaster.c | 4 +-
src/backend/replication/basebackup.c | 25 ++-
src/backend/utils/misc/guc.c | 1 -
src/bin/pg_controldata/pg_controldata.c | 5 +
src/bin/pg_resetxlog/pg_resetxlog.c | 7 +-
src/include/access/xlog.h | 2 +
src/include/access/xlog_internal.h | 2 +-
src/include/catalog/pg_control.h | 11 +-
11 files changed, 501 insertions(+), 44 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2012-01-25 20:31:17 pgsql: Make CheckIndexCompatible simpler and more bullet-proof.
Previous Message Alvaro Herrera 2012-01-25 16:24:24 pgsql: Add pg_trigger_depth() function