aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_basebackup/walmethods.h
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2017-01-17 12:10:26 +0100
committerMagnus Hagander <magnus@hagander.net>2017-01-17 12:10:26 +0100
commitcada1af31d769a6b607018d68894f2c879ff275f (patch)
treeba6208f431256ae7f0d15d2e5e5f780aeef9e2e8 /src/bin/pg_basebackup/walmethods.h
parent974ece58bbb3c0ef185a9d44b1cedae51cd56b04 (diff)
downloadpostgresql-cada1af31d769a6b607018d68894f2c879ff275f.tar.gz
postgresql-cada1af31d769a6b607018d68894f2c879ff275f.zip
Add compression support to pg_receivexlog
Author: Michael Paquier, review and small changes by me
Diffstat (limited to 'src/bin/pg_basebackup/walmethods.h')
-rw-r--r--src/bin/pg_basebackup/walmethods.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/pg_basebackup/walmethods.h b/src/bin/pg_basebackup/walmethods.h
index c1723d53b51..2cd8b6d7555 100644
--- a/src/bin/pg_basebackup/walmethods.h
+++ b/src/bin/pg_basebackup/walmethods.h
@@ -41,7 +41,8 @@ struct WalWriteMethod
* (only implements the methods required for pg_basebackup,
* not all those required for pg_receivexlog)
*/
-WalWriteMethod *CreateWalDirectoryMethod(const char *basedir, bool sync);
+WalWriteMethod *CreateWalDirectoryMethod(const char *basedir,
+ int compression, bool sync);
WalWriteMethod *CreateWalTarMethod(const char *tarbase, int compression, bool sync);
/* Cleanup routines for previously-created methods */