We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9e9509d + 6d3ad88 commit 223d629Copy full SHA for 223d629
src/stream.c
@@ -274,7 +274,13 @@ StreamLog(void *arg)
274
ctl.synchronous = false;
275
ctl.mark_done = false;
276
277
-#if PG_VERSION_NUM >= 100000
+#if PG_VERSION_NUM >= 150000
278
+ ctl.walmethod = CreateWalDirectoryMethod(
279
+ stream_arg->basedir,
280
+ COMPRESSION_NONE,
281
+ 0,
282
+ false);
283
+#elif PG_VERSION_NUM >= 100000
284
ctl.walmethod = CreateWalDirectoryMethod(
285
stream_arg->basedir,
286
// (instance_config.compress_alg == NONE_COMPRESS) ? 0 : instance_config.compress_level,
0 commit comments