summaryrefslogtreecommitdiff
path: root/src/include/postmaster
diff options
context:
space:
mode:
authorRobert Haas2022-01-28 18:29:32 +0000
committerRobert Haas2022-01-28 18:29:32 +0000
commitaeb4cc9ea07a63ecb4a230513620ceee855a839a (patch)
treeb336a2ded8e290b0d7b91a5928e024ff623a9bbc /src/include/postmaster
parent7f6772317b4a4f9d30c25d1853571fca6d834f0c (diff)
Move the code to archive files via the shell to a separate file.
This is preparatory work for allowing more extensibility in this area. Nathan Bossart Discussion: http://postgr.es/m/668D2428-F73B-475E-87AE-F89D67942270@amazon.com
Diffstat (limited to 'src/include/postmaster')
-rw-r--r--src/include/postmaster/pgarch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/postmaster/pgarch.h b/src/include/postmaster/pgarch.h
index ed55d6646b2..991a6d06160 100644
--- a/src/include/postmaster/pgarch.h
+++ b/src/include/postmaster/pgarch.h
@@ -33,4 +33,7 @@ extern void PgArchiverMain(void) pg_attribute_noreturn();
extern void PgArchWakeup(void);
extern void PgArchForceDirScan(void);
+/* in shell_archive.c */
+extern bool shell_archive_file(const char *file, const char *path);
+
#endif /* _PGARCH_H */