Re: BUG #12779: pg_dump -Fd doesn't care about -Z

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: BUG #12779: pg_dump -Fd doesn't care about -Z
Дата
Msg-id CAB7nPqTLSv5qES=9hODzkX62V5XcivP1ij=_iahR_-SriD2AOA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #12779: pg_dump -Fd doesn't care about -Z  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #12779: pg_dump -Fd doesn't care about -Z
Re: BUG #12779: pg_dump -Fd doesn't care about -Z
Список pgsql-bugs
On Wed, Feb 18, 2015 at 3:52 AM, Tom Lane wrote:
> This doesn't look tremendously hard to fix, but it's not a one-liner
> either.  Don't have time for it personally right now.

Interesting. The call to gzopen is missing the compression level,
always passing either 'w' or 'wb', while for example to write with a
compression level of 6 we should pass w6 or wb6.

The patch attached addresses that.
--
Michael

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #12779: pg_dump -Fd doesn't care about -Z
Следующее
От: Christoph Berg
Дата:
Сообщение: Re: BUG #12779: pg_dump -Fd doesn't care about -Z