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:
@ -61,8 +61,6 @@ const bbsink_ops bbsink_lz4_ops = {
|
|||||||
bbsink *
|
bbsink *
|
||||||
bbsink_lz4_new(bbsink *next, bc_specification *compress)
|
bbsink_lz4_new(bbsink *next, bc_specification *compress)
|
||||||
{
|
{
|
||||||
int compresslevel;
|
|
||||||
|
|
||||||
#ifndef USE_LZ4
|
#ifndef USE_LZ4
|
||||||
ereport(ERROR,
|
ereport(ERROR,
|
||||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||||
@ -70,6 +68,7 @@ bbsink_lz4_new(bbsink *next, bc_specification *compress)
|
|||||||
return NULL; /* keep compiler quiet */
|
return NULL; /* keep compiler quiet */
|
||||||
#else
|
#else
|
||||||
bbsink_lz4 *sink;
|
bbsink_lz4 *sink;
|
||||||
|
int compresslevel;
|
||||||
|
|
||||||
Assert(next != NULL);
|
Assert(next != NULL);
|
||||||
|
|
||||||
|
@ -60,8 +60,6 @@ const bbsink_ops bbsink_zstd_ops = {
|
|||||||
bbsink *
|
bbsink *
|
||||||
bbsink_zstd_new(bbsink *next, bc_specification *compress)
|
bbsink_zstd_new(bbsink *next, bc_specification *compress)
|
||||||
{
|
{
|
||||||
int compresslevel;
|
|
||||||
|
|
||||||
#ifndef USE_ZSTD
|
#ifndef USE_ZSTD
|
||||||
ereport(ERROR,
|
ereport(ERROR,
|
||||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||||
@ -69,6 +67,7 @@ bbsink_zstd_new(bbsink *next, bc_specification *compress)
|
|||||||
return NULL; /* keep compiler quiet */
|
return NULL; /* keep compiler quiet */
|
||||||
#else
|
#else
|
||||||
bbsink_zstd *sink;
|
bbsink_zstd *sink;
|
||||||
|
int compresslevel;
|
||||||
|
|
||||||
Assert(next != NULL);
|
Assert(next != NULL);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user