Re: pgsql: Server-side gzip compression.

David Rowley <dgrowleyml@gmail.com>

From: David Rowley <dgrowleyml@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-01-25T20:56:10Z
Lists: pgsql-hackers
On Wed, 26 Jan 2022 at 07:12, Robert Haas <robertmhaas@gmail.com> wrote:
> wouldn't this same consideration apply to a very large number of other
> places in the code base?

All of the other places are handled. See locations with "keep compiler quiet".

This one is the only one that generates a warning:

basebackup_gzip.c(90): warning C4715: 'bbsink_gzip_new': not all
control paths return a value

David



Commits

  1. pg_basebackup: Add a dummy return to bbsink_gzip_new().

  2. Server-side gzip compression.

  3. Extend the options of pg_basebackup to control compression

  4. Support base backup targets.

  5. Flexible options for BASE_BACKUP.