pgsql: Fix oversights in pg_basebackup's -z (compression) option.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix oversights in pg_basebackup's -z (compression) option.
Дата
Msg-id E1QWthB-0001FZ-Hc@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix oversights in pg_basebackup's -z (compression) option.

The short-form -z switch didn't work, for lack of telling getopt_long
about it; and even if specified long-form, it failed to do anything,
because the various tests elsewhere in the file would take
Z_DEFAULT_COMPRESSION (which is -1) as meaning "don't compress".

Per bug #6060 from Shigehiro Honda, though I editorialized on his patch
a bit.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/31156ce8b95c5e9fa8cb01f08de008c3289c1086

Modified Files
--------------
src/bin/pg_basebackup/pg_basebackup.c |   14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: fxjr@pgfoundry.org (User Fxjr)
Дата:
Сообщение: npgsql - Npgsql2: Fixed problem with last update about Password as
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix oversights in pg_basebackup's -z (compression) option.