postgresql/src/bin
Michael Paquier d0d62262d3 Fix thinko coming from 000f3adf
pg_basebackup.c relies on the compression level to not be 0 to decide if
compression should be used, but 000f3adf missed the fact that the
default compression (Z_DEFAULT_COMPRESSION) is -1, which would be used
if specifying --gzip without --compress.

While on it, add some coverage for --gzip, as this is rather easy to
miss.

Reported-by: Christoph Berg
Discussion: https://postgr.es/m/YdhRDMLjabtXOnhY@msg.df7cb.de
2022-01-08 09:12:21 +09:00
..
initdb Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_amcheck Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_archivecleanup Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_basebackup Fix thinko coming from 000f3adf 2022-01-08 09:12:21 +09:00
pg_checksums Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_config Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_controldata Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_ctl Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_dump Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_resetwal Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_rewind Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_test_fsync Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_test_timing Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_upgrade Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_verifybackup Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_waldump Update copyright for 2022 2022-01-07 19:04:57 -05:00
pgbench Update copyright for 2022 2022-01-07 19:04:57 -05:00
pgevent Update copyright for 2022 2022-01-07 19:04:57 -05:00
psql Update copyright for 2022 2022-01-07 19:04:57 -05:00
scripts Update copyright for 2022 2022-01-07 19:04:57 -05:00
Makefile Update copyright for 2022 2022-01-07 19:04:57 -05:00