From 8c89da4825322660a912b717ba83326151e0866e Mon Sep 17 00:00:00 2001 From: Hristo Venev Date: Fri, 23 Jul 2021 16:51:04 +0300 Subject: Initial commit --- config.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 config.h (limited to 'config.h') diff --git a/config.h b/config.h new file mode 100644 index 0000000..0dcd86b --- /dev/null +++ b/config.h @@ -0,0 +1,16 @@ +static const char *const BASE_OUT = "base.tzst"; +static const char *const BASE_BACKUP_ARGV[] = { + "pg_basebackup", + "-F", "t", + "-X", "none", + "-D", "-", + NULL, +}; +static const char *const BASE_COMPRESS_ARGV[] = { + "zstd", "-12", "-T0", NULL, +}; + +static const char *const WAL_EXT = ".zst"; +static const char *const WAL_COMPRESS_ARGV[] = { + "zstd", "-19", "--single-thread", NULL, +}; -- cgit