pg_basebackup: Cleaner handling when compression is multiply specified.

Tushar Ahuja discovered that if you use both --compress and --gzip,
or --compress multiple times, the last instance of one of these
options doesn't in all cases overwrite the compression level set by
an earlier option. That's not a serious bug, but it also has nothing
to recommend it. Repair.

Discussion: 
http://postgr.es/m/CA+TgmoZfP=rszb_9vdgfhungsu_m_09uwu8sjvsp65y_1pq...@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/51891d5a95605c4e98324731b386345d89c5a71e

Modified Files
--------------
src/bin/pg_basebackup/pg_basebackup.c | 6 ++++++
1 file changed, 6 insertions(+)

Reply via email to