pgsql: Rework compression options of pg_receivewal

2022-04-12 Thread Michael Paquier
Rework compression options of pg_receivewal Since ba5 and the introduction of LZ4 in pg_receivewal, the compression of the WAL archived is controlled by two options: - --compression-method with "gzip", "none" or "lz4" as possible value. - --compress=N to specify a compression level. This incl

pgsql: Rework compression options of pg_receivewal

2021-11-03 Thread Michael Paquier
Rework compression options of pg_receivewal pg_receivewal includes since cada1af the option --compress, to allow the compression of WAL segments using gzip, with a value of 0 (the default) meaning that no compression can be used. This commit introduces a new option, called --compression-method, a