Re: pg_dump --compress error

Поиск
Список
Период
Сортировка
От Alban Hertroys
Тема Re: pg_dump --compress error
Дата
Msg-id 9CF017DF-D81D-4274-A8EE-F5A48F0DDC1E@solfertje.student.utwente.nl
обсуждение исходный текст
Ответ на pg_dump --compress error  (yasin malli <yasinmalli@gmail.com>)
Список pgsql-general
On 31 Aug 2010, at 6:44, yasin malli wrote:

> Hi everyone.
>
> I try this command ' pg_dump --compress=5 DBNAME > ***.sql ' and ' psql -f ***.sql -d DBNAME '
> but I take some error because of compression. how can restore compressed dump file without taking any error ?

By using pg_restore instead of psql.

Alban Hertroys

--
If you can't see the forest for the trees,
cut the trees and you'll see there is no forest.


!DSPAM:737,4c7c9a6510401193214009!



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

Предыдущее
От: yasin malli
Дата:
Сообщение: pg_dump --compress error
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: pg_dump --compress error