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: (view raw, whole thread or download thread mbox)
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



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-2017 The PostgreSQL Global Development Group