Re: pg_restore -d doesn't display output

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_restore -d doesn't display output
Дата
Msg-id 27758.1065456721@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_restore -d doesn't display output  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: pg_restore -d doesn't display output  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Does anyone know why 'pg_restore -d' doesn't display the commands being
> executed, like you see when you don't use '-d':

>     pg_restore < /tmp/test.db
>     pg_restore -d test < /tmp/test.db

The first sends a script to stdout (effectively equivalent to pg_dump
plain style).  The second sends the commands to a backend.

I would have expected there to be a --verbose option that would also echo
the commands to stderr, but it doesn't look like there's any support for
that in the code.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: more on initdb
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: more on initdb