psql -L log errors

Поиск
Список
Период
Сортировка
От Hans Ginzel
Тема psql -L log errors
Дата
Msg-id 20150311090041.GA121555@artax.karlin.mff.cuni.cz
обсуждение исходный текст
Ответы Re: psql -L log errors  (Felipe Santos <felipepts@gmail.com>)
Список pgsql-novice
Hello!

There is, in documentation of psql client (http://www.postgresql.org/docs/9.4/static/app-psql.html):
--log-file=filename
     Write all query output into file filename, in addition to the normal output destination.

But it seems, that psql logs only the query output (and input if -e or -a),
but does not write the error output. How to also log the errors, please?

Thanks
Hans


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

Предыдущее
От: s d
Дата:
Сообщение: Re: trigger to access only the last transaction
Следующее
От: "gurunadh.venkata@gmail.com"
Дата:
Сообщение: Re: Master-slave failover question