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

From Michael Paquier
Subject Re: Allow auto_explain to log to NOTICE
Date
Msg-id 20190104124952.GB2067@paquier.xyz
Whole thread Raw
In response to Re: Allow auto_explain to log to NOTICE  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: Allow auto_explain to log to NOTICE
List pgsql-hackers
On Fri, Jan 04, 2019 at 01:06:24PM +0100, Peter Eisentraut wrote:
> Do we really want to add user-facing options just to be able to run
> tests?  Should we write the tests differently instead?

The take is that the output of the plans generated includes data which
is run-dependent because the duration of the plan is generated
unconditionally.  One way to write generic tests considering this
would be to use a TAP test, but I feel that's overdoing it just for
this case.

Being able to control if the plan duration shows up still looks like
an interesting option to me independently of adding tests.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Statement-level Triggers For Uniqueness Checks
Next
From: David Rowley
Date:
Subject: Re: Using POPCNT and other advanced bit manipulation instructions