Re: pg_dump compress

Поиск
Список
Период
Сортировка
От Roger Niederland
Тема Re: pg_dump compress
Дата
Msg-id 4E7C970B.2080402@niederland.com
обсуждение исходный текст
Ответ на Re: pg_dump compress  (hubert depesz lubaczewski <depesz@depesz.com>)
Ответы Re: pg_dump compress
Re: pg_dump compress
Список pgsql-general

On 9/23/2011 6:46 AM, hubert depesz lubaczewski wrote:
> On Thu, Sep 22, 2011 at 11:00:10PM -0700, Roger Niederland wrote:
>> Using pg_dump from the command line with the exe included in windows
>> 32 bit install in postgresql 9.1.
>> pg_dump  -U username -f somefile.sql.gz -Z 9 -i dbname
> please note that pg_dump --help shows:
>    -Z, --compress=0-9          compression level for compressed formats
>
> hint: the part "for compressed formats" is critical.
>
> plain dump is not compressed, you'd have to use -Fc to get compression,
> but it's good to use anyway.
>
> Best regards,
>
> depesz
>
On previous versions the -Z 9  option would compress the plain text sql
output to a gzipped file.
Now it now longer compresses.  Using the -Fc the outputs a compressed
file, which is only readable
by pg_restore.

Roger


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

Предыдущее
От: Hannes Erven
Дата:
Сообщение: Re: Replication between 64/32bit systems?
Следующее
От: Gregg Jaskiewicz
Дата:
Сообщение: Re: pg_dump compress