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

Commit607e75e

Browse files
committed
Unbreak the build.
Commitffd5365 broke the build foranyone not compiling with LZ4 and ZSTD enabled. Woops.
1 parentffd5365 commit607e75e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

‎src/backend/replication/basebackup_lz4.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,14 @@ const bbsink_ops bbsink_lz4_ops = {
6161
bbsink*
6262
bbsink_lz4_new(bbsink*next,bc_specification*compress)
6363
{
64-
intcompresslevel;
65-
6664
#ifndefUSE_LZ4
6765
ereport(ERROR,
6866
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
6967
errmsg("lz4 compression is not supported by this build")));
7068
returnNULL;/* keep compiler quiet */
7169
#else
7270
bbsink_lz4*sink;
71+
intcompresslevel;
7372

7473
Assert(next!=NULL);
7574

‎src/backend/replication/basebackup_zstd.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,14 @@ const bbsink_ops bbsink_zstd_ops = {
6060
bbsink*
6161
bbsink_zstd_new(bbsink*next,bc_specification*compress)
6262
{
63-
intcompresslevel;
64-
6563
#ifndefUSE_ZSTD
6664
ereport(ERROR,
6765
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
6866
errmsg("zstd compression is not supported by this build")));
6967
returnNULL;/* keep compiler quiet */
7068
#else
7169
bbsink_zstd*sink;
70+
intcompresslevel;
7271

7372
Assert(next!=NULL);
7473

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp