Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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(-)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group