Re: pg_dump problem

Поиск
Список
Период
Сортировка
От Kyle
Тема Re: pg_dump problem
Дата
Msg-id 14720.25197.319560.153318@ip146.usw5.rb1.bel.nwlink.com
обсуждение исходный текст
Ответ на Re: pg_dump problem  (Andrew Sullivan <sullivana@bpl.on.ca>)
Ответы Re: Re: pg_dump problem  (Andrew Sullivan <sullivana@bpl.on.ca>)
Список pgsql-general
Andrew Sullivan wrote:
[pg_dump problem]
> If you just type the username and password after that, you'll get the
> output you want.  Problem is that you're redirecting all output to a
> file, and that includes the username and password prompts.
>
> In 7.x versions, this appears to be fixed using the '-f' switch:
>
>     mymachine:~$ pg_dump -u [database] -f [somefile]

what if you want to pipe the output to your favorite compression
utility?  I like doing a weekly:
 pg_dumpall | bzip2 - > dump.bz2

-Kyle


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

Предыдущее
От: Lamar Owen
Дата:
Сообщение: Re:
Следующее
От: Jim Mercer
Дата:
Сообщение: Re: