pgsql: Backend support for streaming base backups

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Backend support for streaming base backups
Date: 2011-01-10 13:17:41
Message-ID: E1PcHcz-0006Hk-0B@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Backend support for streaming base backups

Add BASE_BACKUP command to walsender, allowing it to stream a
base backup to the client (in tar format). The syntax is still
far from ideal, that will be fixed in the switch to use a proper
grammar for walsender.

No client included yet, will come as a separate commit.

Magnus Hagander and Heikki Linnakangas

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=0eb59c4591ecf4f1c69d89e9f043a18e7dce9e47

Modified Files
--------------
doc/src/sgml/protocol.sgml | 92 ++++++
src/backend/replication/Makefile | 2 +-
src/backend/replication/basebackup.c | 555 ++++++++++++++++++++++++++++++++++
src/backend/replication/walsender.c | 14 +
src/include/replication/basebackup.h | 17 +
5 files changed, 679 insertions(+), 1 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2011-01-10 16:46:06 pgsql: A toast relid field are no longer needed in pg_upgrade's rel arr
Previous Message User Uwebartels 2011-01-10 09:55:41 pgstatspack - pgstatspack: add new function for retrieving unused