8000 [PBCKP-125] changes in function call CreateWalDirectoryMethod for 15 … · postgrespro/pg_probackup@6d3ad88 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6d3ad88

Browse files
author
Sofia Kopikova
committed
[PBCKP-125] changes in function call CreateWalDirectoryMethod for 15 version
Tags: pg_probackup
1 parent 9e9509d commit 6d3ad88

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/stream.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,13 @@ StreamLog(void *arg)
274274
ctl.synchronous = false;
275275
ctl.mark_done = false;
276276

277-
#if PG_VERSION_NUM >= 100000
277+
#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
278284
ctl.walmethod = CreateWalDirectoryMethod(
279285
stream_arg->basedir,
280286
// (instance_config.compress_alg == NONE_COMPRESS) ? 0 : instance_config.compress_level,

0 commit comments

Comments
 (0)
0