Re: Allow auto_explain to log to NOTICE

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: Allow auto_explain to log to NOTICE
Дата
Msg-id 87po2l9unj.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответ на Allow auto_explain to log to NOTICE  (Tom Dunstan <pgsql@tomd.cc>)
Список pgsql-hackers
>>>>> "Tom" == Tom Dunstan <pgsql@tomd.cc> writes:

 Tom> Hi all
 
 Tom> This patch allows a user to configure auto_explain to log to
 Tom> NOTICE instead of the server log. This allows automated testing of
 Tom> application-generated queries to ensure correct plans etc from
 Tom> code that can inspect returned notices but not the server log.

You do know that you can do

SET client_min_messages = log;

to get all log messages generated within your session sent to the client
as well, yes?

-- 
Andrew (irc:RhodiumToad)


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

Предыдущее
От: Charles Cui
Дата:
Сообщение: Re: community bonding
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: community bonding