diff options
author | Robert Haas <rhaas@postgresql.org> | 2022-01-27 14:20:18 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2022-01-27 14:20:18 -0500 |
commit | 71cbbbbe80a43b1a89ce6eab56c780394425dc38 (patch) | |
tree | 2a3e168550c66481a8da9435d8a4144b7fcefda6 /src | |
parent | f192e1bdf3b247167207ae42f6bef81a7ce5e93b (diff) | |
download | postgresql-71cbbbbe80a43b1a89ce6eab56c780394425dc38.tar.gz postgresql-71cbbbbe80a43b1a89ce6eab56c780394425dc38.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/replication/basebackup_gzip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/replication/basebackup_gzip.c b/src/backend/replication/basebackup_gzip.c index 1e58382fa08..b66d3da7a3f 100644 --- a/src/backend/replication/basebackup_gzip.c +++ b/src/backend/replication/basebackup_gzip.c @@ -66,6 +66,7 @@ bbsink_gzip_new(bbsink *next, int compresslevel) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), errmsg("gzip compression is not supported by this build"))); + return NULL; /* keep compiler quiet */ #else bbsink_gzip *sink; |