Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit044c037

Browse files
author
Sofia Kopikova
committed
[PBCKP-125] changes in function call CreateWalDirectoryMethod for 15 version
1 parente58273a commit044c037

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/stream.c‎

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

277+
#ifPG_VERSION_NUM >=100000
277278
#ifPG_VERSION_NUM >=150000
278279
ctl.walmethod=CreateWalDirectoryMethod(
279280
stream_arg->basedir,
280281
PG_COMPRESSION_NONE,
281282
0,
282283
false);
283-
#elifPG_VERSION_NUM >=100000
284+
#else/*PG_VERSION_NUM >= 100000 && PG_VERSION_NUM < 150000 */
284285
ctl.walmethod=CreateWalDirectoryMethod(
285286
stream_arg->basedir,
286287
//(instance_config.compress_alg == NONE_COMPRESS) ? 0 : instance_config.compress_level,
287288
0,
288289
false);
290+
#endif/* PG_VERSION_NUM >= 150000 */
289291
ctl.replication_slot=replication_slot;
290292
ctl.stop_socket=PGINVALID_SOCKET;
291293
ctl.do_sync= false;/* We sync all files at the end of backup */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp