pgsql: Silence compiler warnings for unsupported compression methods.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Silence compiler warnings for unsupported compression methods.
Date: 2022-04-08 22:14:29
Message-ID: E1ncws8-000x61-Pn@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Silence compiler warnings for unsupported compression methods.

wrasse, at least, moans about the lack of any "return" statement
in these functions. You'd think pretty much everything would
know that exit(1) doesn't return, but evidently not.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c0d1c641cbe433d1b6304bc1e3a2d8cd38b9a8e5

Modified Files
--------------
src/bin/pg_basebackup/bbstreamer_gzip.c | 2 ++
src/bin/pg_basebackup/bbstreamer_lz4.c | 2 ++
src/bin/pg_basebackup/bbstreamer_zstd.c | 2 ++
3 files changed, 6 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2022-04-08 23:56:08 Re: pgsql: Add TAP test for archive_cleanup_command and recovery_end_comman
Previous Message Tom Lane 2022-04-08 21:55:51 Re: pgsql: Add TAP test for archive_cleanup_command and recovery_end_comman