Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 71cbbbb

Browse files
committed
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
1 parent f192e1b commit 71cbbbb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/replication/basebackup_gzip.c

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ bbsink_gzip_new(bbsink *next, int compresslevel)
6666
ereport(ERROR,
6767
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
6868
errmsg("gzip compression is not supported by this build")));
69+
return NULL; /* keep compiler quiet */
6970
#else
7071
bbsink_gzip *sink;
7172

0 commit comments

Comments
 (0)