Re: Allow auto_explain to log to NOTICE

From: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
To: Tom Dunstan <pgsql(at)tomd(dot)cc>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Allow auto_explain to log to NOTICE
Date: 2018-04-27 03:50:23
Message-ID: 87po2l9unj.fsf@news-spur.riddles.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>>>>> "Tom" == Tom Dunstan <pgsql(at)tomd(dot)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)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2018-04-27 04:03:43 Re: community bonding
Previous Message Charles Cui 2018-04-27 03:35:18 Re: community bonding