Re: Allow auto_explain to log to NOTICE - Mailing list pgsql-hackers

From Andrew Gierth
Subject Re: Allow auto_explain to log to NOTICE
Date
Msg-id 87po2l9unj.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Allow auto_explain to log to NOTICE  (Tom Dunstan <pgsql@tomd.cc>)
List 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 by date:

Previous
From: Charles Cui
Date:
Subject: Re: community bonding
Next
From: Craig Ringer
Date:
Subject: Re: community bonding