Re: pg_dumpall custom format?

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Re: pg_dumpall custom format?
Дата
Msg-id bddc86150903050308w5447dc84kbcb09b97859e7ee1@mail.gmail.com
обсуждение исходный текст
Ответ на pg_dumpall custom format?  (Thom Brown <thombrown@gmail.com>)
Ответы Re: pg_dumpall custom format?  (Thom Brown <thombrown@gmail.com>)
Список pgsql-general
Thanks for the suggestion Marc.  It would still be nice to have the custom format included as an option though with pg_restore supporting it, just for consistency.

I will, however, follow your recommendation.

Thom

2009/3/5 Marc Mamin <M.Mamin@intershop.de>
Hello,
 
you can first pipe the output of pg_dump to a compression tool:
 
pg_dump..... | gzip > file.
 
instead of gzip, I'm using pigz which is faster thanks multithreading.
 
HTH,
 
Marc Mamin
 
 


From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of Thom Brown
Sent: Thursday, March 05, 2009 11:53 AM
To: pgsql general
Subject: [GENERAL] pg_dumpall custom format?

Hi,

I noticed that while pg_dump can output a custom format, effectively compressing the output, pg_dumpall doesn't.  Is there a reason for this?  And is there a way to get pg_dumpall to compress it's output?

Thanks

Thom

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

Предыдущее
От: Thom Brown
Дата:
Сообщение: pg_dumpall custom format?
Следующее
От: "Marc Mamin"
Дата:
Сообщение: Re: pg_dumpall custom format?