diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/replication/basebackup.h | 7 | ||||
| -rw-r--r-- | src/include/replication/walsender.h | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/include/replication/basebackup.h b/src/include/replication/basebackup.h index 07ed281bd63..d5b594c928d 100644 --- a/src/include/replication/basebackup.h +++ b/src/include/replication/basebackup.h @@ -12,6 +12,7 @@ #ifndef _BASEBACKUP_H #define _BASEBACKUP_H +#include "lib/stringinfo.h" #include "nodes/replnodes.h" /* @@ -29,8 +30,12 @@ typedef struct int64 size; } tablespaceinfo; +struct manifest_info; +typedef struct manifest_info manifest_info; + extern void SendBaseBackup(BaseBackupCmd *cmd); -extern int64 sendTablespace(char *path, bool sizeonly); +extern int64 sendTablespace(char *path, char *oid, bool sizeonly, + manifest_info *manifest); #endif /* _BASEBACKUP_H */ diff --git a/src/include/replication/walsender.h b/src/include/replication/walsender.h index fd4305e53fa..40d81b87f07 100644 --- a/src/include/replication/walsender.h +++ b/src/include/replication/walsender.h @@ -38,6 +38,7 @@ extern bool log_replication_commands; extern void InitWalSender(void); extern bool exec_replication_command(const char *query_string); extern void WalSndErrorCleanup(void); +extern void WalSndResourceCleanup(bool isCommit); extern void WalSndSignals(void); extern Size WalSndShmemSize(void); extern void WalSndShmemInit(void); |
