libpq and PostgreSQL NOTICEs

Поиск
Список
Период
Сортировка
От Tim Barnard
Тема libpq and PostgreSQL NOTICEs
Дата
Msg-id 00ea01c0ed20$117fd2e0$a519af3f@hartcomm.com
обсуждение исходный текст
Ответы Re: libpq and PostgreSQL NOTICEs
Список pgsql-general
Is there any way to force Postgre not to send NOTICEs to the console? I have an ncurses app that from time to time gets notices stating that "begin is already a transaction in progress." Now I know I need to track down where I'm issuing a "begin" twice, but I would rather Postgre log these warnings and errors to a file, rather than spewing across the screen. Does anyone know if and how to instruct Postgre to send its NOTICEs to a log file?
 
Tim
 

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

Предыдущее
От: Martín Marqués
Дата:
Сообщение: Re: datestyle
Следующее
От: Tom Lane
Дата:
Сообщение: Re: template1, can there be a template2/3/4?