Обсуждение: pgsql: Backend support for streaming base backups

Поиск
Список
Период
Сортировка

pgsql: Backend support for streaming base backups

От
Magnus Hagander
Дата:
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(-)