Capturing pgsql ERRORS/NOTICES to file

Поиск
Список
Период
Сортировка
От George Weaver
Тема Capturing pgsql ERRORS/NOTICES to file
Дата
Msg-id 001f01c38458$7865c5b0$560fa18e@cleartag
обсуждение исходный текст
Ответы Re: Capturing pgsql ERRORS/NOTICES to file
Список pgsql-sql
I am in the process of creating a batch file that will update some functions in a database for a remote user similar to:
 
psql -o output dbname < functionupdate.sql
 
Is there any way to save any ERROR and NOTICE messages to a file? 
 
The -o option doesn't capture this information.
 
Thanks,
George

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

Предыдущее
От: Roberto Mello
Дата:
Сообщение: Re: Case Insensitive comparison
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Capturing pgsql ERRORS/NOTICES to file