Backend support for streaming base backups
Magnus Hagander <magnus@hagander.net>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/protocol.sgml | modified | +92 −0 |
| src/backend/replication/basebackup.c | added | +555 −0 |
| src/backend/replication/Makefile | modified | +1 −1 |
| src/backend/replication/walsender.c | modified | +14 −0 |
| src/include/replication/basebackup.h | added | +17 −0 |