summaryrefslogtreecommitdiff
path: root/src/bin/pg_basebackup/receivelog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pg_basebackup/receivelog.h')
-rw-r--r--src/bin/pg_basebackup/receivelog.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/pg_basebackup/receivelog.h b/src/bin/pg_basebackup/receivelog.h
index 7a3bbc50800..b5913ea9957 100644
--- a/src/bin/pg_basebackup/receivelog.h
+++ b/src/bin/pg_basebackup/receivelog.h
@@ -13,6 +13,7 @@
#define RECEIVELOG_H
#include "libpq-fe.h"
+#include "walmethods.h"
#include "access/xlogdefs.h"
@@ -41,7 +42,7 @@ typedef struct StreamCtl
stream_stop_callback stream_stop; /* Stop streaming when returns true */
- char *basedir; /* Received segments written to this dir */
+ WalWriteMethod *walmethod; /* How to write the WAL */
char *partial_suffix; /* Suffix appended to partially received files */
} StreamCtl;