aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h16
1 files changed, 16 insertions, 0 deletions
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,
+};