Re: Allow auto_explain to log to NOTICE

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Allow auto_explain to log to NOTICE
Дата
Msg-id 20190104124952.GB2067@paquier.xyz
обсуждение исходный текст
Ответ на Re: Allow auto_explain to log to NOTICE  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: Allow auto_explain to log to NOTICE  (Daniel Gustafsson <daniel@yesql.se>)
Список 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

Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Statement-level Triggers For Uniqueness Checks
Следующее
От: David Rowley
Дата:
Сообщение: Re: Using POPCNT and other advanced bit manipulation instructions