1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-01 01:04:50 +03:00

pg_basebackup: Add a dummy return to bbsink_gzip_new().

Apparently, this is needed to avoid warnings on MVCC.

David Rowley

Discussion: http://postgr.es/m/CAApHDvosHkgyo_PZs7CSB4Kgs2ey4FdmFpcK0N_QOci9DJ=wnw@mail.gmail.com
This commit is contained in:
Robert Haas 2022-01-27 14:20:18 -05:00
parent f192e1bdf3
commit 71cbbbbe80

View File

@ -66,6 +66,7 @@ bbsink_gzip_new(bbsink *next, int compresslevel)
ereport(ERROR, ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED), (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("gzip compression is not supported by this build"))); errmsg("gzip compression is not supported by this build")));
return NULL; /* keep compiler quiet */
#else #else
bbsink_gzip *sink; bbsink_gzip *sink;