mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-23 14:57:03 +08:00
Unbreak the build.
Commit ffd53659c46a54a6978bcb8c4424c1e157a2c0f1 broke the build for anyone not compiling with LZ4 and ZSTD enabled. Woops.
This commit is contained in:
@ -61,8 +61,6 @@ const bbsink_ops bbsink_lz4_ops = {
|
||||
bbsink *
|
||||
bbsink_lz4_new(bbsink *next, bc_specification *compress)
|
||||
{
|
||||
int compresslevel;
|
||||
|
||||
#ifndef USE_LZ4
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||
@ -70,6 +68,7 @@ bbsink_lz4_new(bbsink *next, bc_specification *compress)
|
||||
return NULL; /* keep compiler quiet */
|
||||
#else
|
||||
bbsink_lz4 *sink;
|
||||
int compresslevel;
|
||||
|
||||
Assert(next != NULL);
|
||||
|
||||
|
||||
@ -60,8 +60,6 @@ const bbsink_ops bbsink_zstd_ops = {
|
||||
bbsink *
|
||||
bbsink_zstd_new(bbsink *next, bc_specification *compress)
|
||||
{
|
||||
int compresslevel;
|
||||
|
||||
#ifndef USE_ZSTD
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||
@ -69,6 +67,7 @@ bbsink_zstd_new(bbsink *next, bc_specification *compress)
|
||||
return NULL; /* keep compiler quiet */
|
||||
#else
|
||||
bbsink_zstd *sink;
|
||||
int compresslevel;
|
||||
|
||||
Assert(next != NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user