Skip to content

Commit 223d629

Browse files
Merge pull request #499 from postgrespro/PBCKP-125
[PBCKP-125] changes in function call CreateWalDirectoryMethod for 15 …
2 parents 9e9509d + 6d3ad88 commit 223d629

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy