diff options
author | Magnus Hagander <magnus@hagander.net> | 2011-01-10 14:03:55 +0100 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2011-01-10 14:04:19 +0100 |
commit | 0eb59c4591ecf4f1c69d89e9f043a18e7dce9e47 (patch) | |
tree | d5ce3fa3d0a3089a75cccd774b5e7b3bcb513589 /src/include/replication/basebackup.h | |
parent | be0c3ea2d30ba225f0249ae88d6b0bdf3b753162 (diff) | |
download | postgresql-0eb59c4591ecf4f1c69d89e9f043a18e7dce9e47.tar.gz postgresql-0eb59c4591ecf4f1c69d89e9f043a18e7dce9e47.zip |
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
Diffstat (limited to 'src/include/replication/basebackup.h')
-rw-r--r-- | src/include/replication/basebackup.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/replication/basebackup.h b/src/include/replication/basebackup.h new file mode 100644 index 00000000000..61e531543c6 --- /dev/null +++ b/src/include/replication/basebackup.h @@ -0,0 +1,17 @@ +/*------------------------------------------------------------------------- + * + * basebackup.h + * Exports from replication/basebackup.c. + * + * Portions Copyright (c) 2010-2010, PostgreSQL Global Development Group + * + * src/include/replication/walsender.h + * + *------------------------------------------------------------------------- + */ +#ifndef _BASEBACKUP_H +#define _BASEBACKUP_H + +extern void SendBaseBackup(const char *options); + +#endif /* _BASEBACKUP_H */ |