1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Unbreak the build.

Commit ffd53659c4 broke the build for
anyone not compiling with LZ4 and ZSTD enabled. Woops.
This commit is contained in:
Robert Haas
2022-03-23 10:22:54 -04:00
parent ffd53659c4
commit 607e75e8f0
2 changed files with 2 additions and 4 deletions

View File

@ -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);

View File

@ -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);