Re: pg_restore to log file

Поиск
Список
Период
Сортировка
От akp geek
Тема Re: pg_restore to log file
Дата
Msg-id AANLkTimoIV5y2_EFobgODkhdD1WC7PyUXFd9OoXh_hVS@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_restore to log file  (Thom Brown <thombrown@gmail.com>)
Ответы Re: pg_restore to log file  (Scott Mead <scott.lists@enterprisedb.com>)
Re: pg_restore to log file  (Thom Brown <thombrown@gmail.com>)
Список pgsql-general
pg_restore -h 10.xx.xx.xxx  -d dbName  -n schemaName -v -U postgres  testDB_20100414.txt    -f outputifile


I got the following error "pg_restore: options -d/--dbname and -f/--file cannot be used together"


Regards



On Tue, May 18, 2010 at 12:07 PM, Thom Brown <thombrown@gmail.com> wrote:
On 18 May 2010 17:03, akp geek <akpgeek@gmail.com> wrote:
> Hi All -
>                 Is there a way to direct the message generated during
> pg_restore to a log file?
> Regards
>

I think you can use "-f outputfile".

Regards

Thom

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

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: pg_restore to log file
Следующее
От: Scott Mead
Дата:
Сообщение: Re: pg_restore to log file