Add suport for server-side LZ4 base backup compression.

Robert Haas <rhaas@postgresql.org>

Commit: dab298471ff2f91f33bc25bfb73e435d3ab02148
Author: Robert Haas <rhaas@postgresql.org>
Date: 2022-02-11T13:29:38Z
Releases: 15.0
Add suport for server-side LZ4 base backup compression.

LZ4 compression can be a lot faster than gzip compression, so users
may prefer it even if the compression ratio is not as good. We will
want pg_basebackup to support LZ4 compression and decompression on the
client side as well, and there is a pending patch for that, but it's
by a different author, so I am committing this part separately for
that reason.

Jeevan Ladhe, reviewed by Tushar Ahuja and by me.

Discussion: http://postgr.es/m/CANm22Cg9cArXEaYgHVZhCnzPLfqXCZLAzjwTq7Fc0quXRPfbxA@mail.gmail.com

Files

Documentation touched

Discussion