aboutsummaryrefslogtreecommitdiff
path: root/src/include/replication/basebackup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/replication/basebackup.h')
-rw-r--r--src/include/replication/basebackup.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/replication/basebackup.h b/src/include/replication/basebackup.h
index 64f2bd510e7..7d3d09e9d63 100644
--- a/src/include/replication/basebackup.h
+++ b/src/include/replication/basebackup.h
@@ -21,6 +21,16 @@
#define MAX_RATE_UPPER 1048576
+typedef struct
+{
+ char *oid;
+ char *path;
+ char *rpath; /* relative path within PGDATA, or NULL */
+ int64 size;
+} tablespaceinfo;
+
extern void SendBaseBackup(BaseBackupCmd *cmd);
+extern int64 sendTablespace(char *path, bool sizeonly);
+
#endif /* _BASEBACKUP_H */