aboutsummaryrefslogtreecommitdiff
path: root/src/include/replication/basebackup.h
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2020-06-17 10:57:34 -0400
committerRobert Haas <rhaas@postgresql.org>2020-06-17 10:57:34 -0400
commit1fa092913d260056b1aaf627ebc9cd9655c3a27c (patch)
treec50a870b2bf4480c591143e9df77de87426f2eda /src/include/replication/basebackup.h
parenta513f1dfbf2c29a51b0f7cbd5913ce2d2ee452c5 (diff)
downloadpostgresql-1fa092913d260056b1aaf627ebc9cd9655c3a27c.tar.gz
postgresql-1fa092913d260056b1aaf627ebc9cd9655c3a27c.zip
Don't export basebackup.c's sendTablespace().
Commit 72d422a5227ef6f76f412486a395aba9f53bf3f0 made xlog.c call sendTablespace() with the 'sizeonly' argument set to true, which required basebackup.c to export sendTablespace(). However, that's kind of ugly, so instead defer the call to sendTablespace() until basebackup.c regains control. That way, it can still be a static function. Patch by me, reviewed by Amit Kapila and Kyotaro Horiguchi. Discussion: http://postgr.es/m/CA+TgmoYq+59SJ2zBbP891ngWPA9fymOqntqYcweSDYXS2a620A@mail.gmail.com
Diffstat (limited to 'src/include/replication/basebackup.h')
-rw-r--r--src/include/replication/basebackup.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/include/replication/basebackup.h b/src/include/replication/basebackup.h
index 923a651cac3..f5f044dacd4 100644
--- a/src/include/replication/basebackup.h
+++ b/src/include/replication/basebackup.h
@@ -14,9 +14,6 @@
#include "nodes/replnodes.h"
-struct backup_manifest_info; /* avoid including backup_manifest.h */
-
-
/*
* Minimum and maximum values of MAX_RATE option in BASE_BACKUP command.
*/
@@ -33,7 +30,4 @@ typedef struct
extern void SendBaseBackup(BaseBackupCmd *cmd);
-extern int64 sendTablespace(char *path, char *oid, bool sizeonly,
- struct backup_manifest_info *manifest);
-
#endif /* _BASEBACKUP_H */