postgres.git / summary / log / commit / refs
commit ab7646ff92c799303b9ee70ce88b89e07dae717c
Author: Robert Haas <rhaas@postgresql.org>
Date: Thu Apr 23 13:47:50 2020 +0000
First released in: 13.0
Also rename 'struct manifest_info'.
The previous commit renamed the struct's typedef, but not the struct
name itself.
src/include/replication/backup_manifest.h | 2 +-
src/include/replication/basebackup.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/include/replication/backup_manifest.h b/src/include/replication/backup_manifest.h
index fd614202b31..06b114f3d77 100644
--- a/src/include/replication/backup_manifest.h
+++ b/src/include/replication/backup_manifest.h
@@ -24,7 +24,7 @@ typedef enum manifest_option
MANIFEST_OPTION_FORCE_ENCODE
} backup_manifest_option;
-typedef struct manifest_info
+typedef struct backup_manifest_info
{
BufFile *buffile;
pg_checksum_type checksum_type;
diff --git a/src/include/replication/basebackup.h b/src/include/replication/basebackup.h
index f6a7422cbc7..923a651cac3 100644
--- a/src/include/replication/basebackup.h
+++ b/src/include/replication/basebackup.h
@@ -14,7 +14,7 @@
#include "nodes/replnodes.h"
-struct manifest_info; /* avoid including backup_manifest.h */
+struct backup_manifest_info; /* avoid including backup_manifest.h */
/*
@@ -34,6 +34,6 @@ typedef struct
extern void SendBaseBackup(BaseBackupCmd *cmd);
extern int64 sendTablespace(char *path, char *oid, bool sizeonly,
- struct manifest_info *manifest);
+ struct backup_manifest_info *manifest);
#endif /* _BASEBACKUP_H */
[parent: 3989dbdf1293]