Re: -f option for pg_dumpall

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: -f option for pg_dumpall
Дата
Msg-id 200701061242.52049.peter_e@gmx.net
обсуждение исходный текст
Ответ на -f option for pg_dumpall  (Dave Page <dpage@postgresql.org>)
Ответы Re: -f option for pg_dumpall  (Dave Page <dpage@postgresql.org>)
Список pgsql-hackers
Dave Page wrote:
> In pgAdmin we use pg_dump's -f option to write backup files. The IO
> streams are redirected to display status and errors etc. in the GUI.
>
> In order to enhance the interface to allow backup of entire clusters
> as well as role and tablespace definitions, we need to be able to get
> pg_dumpall to write it's output directly to a file in the same way,
> because we cannot redirect the child pg_dump IO streams (which also
> means we may miss errors, but I need to think about that some more).

I don't understand this.  Errors are sent to stderr, and the real output 
is sent to stdout, where you can capture and save it.  What is the 
problem?

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: Parsing ambiguity for ORDER BY ... NULLS FIRST/LAST
Следующее
От: "Simon Riggs"
Дата:
Сообщение: Re: [PATCHES] wal_checksum = on (default) | off