]> granicus.if.org Git - postgresql/commit
Backend support for streaming base backups
authorMagnus Hagander <magnus@hagander.net>
Mon, 10 Jan 2011 13:03:55 +0000 (14:03 +0100)
committerMagnus Hagander <magnus@hagander.net>
Mon, 10 Jan 2011 13:04:19 +0000 (14:04 +0100)
commit0eb59c4591ecf4f1c69d89e9f043a18e7dce9e47
treed5ce3fa3d0a3089a75cccd774b5e7b3bcb513589
parentbe0c3ea2d30ba225f0249ae88d6b0bdf3b753162
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
doc/src/sgml/protocol.sgml
src/backend/replication/Makefile
src/backend/replication/basebackup.c [new file with mode: 0644]
src/backend/replication/walsender.c
src/include/replication/basebackup.h [new file with mode: 0644]